Last active
November 13, 2015 22:06
-
-
Save jasperboyd/70b7ad41814a96c316bf to your computer and use it in GitHub Desktop.
sw-listing-display example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-controller="tscontrol as controllernamethatyoupick"> | |
<!-- use data-entity="product" for a standard listing --> | |
<sw-listing-display ng-if="$root.loadedResourceBundle" | |
data-showsearch="true" | |
data-collection-config="controllernamethatyoupick.collectionConfig" | |
data-record-edit-action="admin:entity.editproduct" | |
data-record-detail-action="admin:entity.detailproduct"> | |
<sw-listing-column data-property-identifier="productType.productTypeName" /> | |
<sw-listing-column data-property-identifier="brand.brandName" /> | |
<sw-listing-column tdclass="primary" data-property-identifier="productName" /> | |
<sw-listing-column data-property-identifier="productCode" /> | |
<sw-listing-column data-property-identifier="defaultSku.price" /> | |
<sw-listing-column data-property-identifier="activeFlag" /> | |
<sw-listing-column data-property-identifier="publishedFlag" /> | |
<sw-listing-column data-property-identifier="calculatedQATS" /> | |
</sw-listing-display> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment