E
egarcia
Guest
Hello Wolfgang, By default the records are sorted by the value of the primary index of the temp-table. If wanted, you could change the primary index of the temp-table in the Business Entity. It does not have to be the same as the index in your actual database table. In Kendo UI Builder you can specify a default sorting for the data source by overriding the sort configuration property. For a pre-defined template, you can override the sort property in the onShow() function in the /src/scripts/ /view-factory.js file. Example: onShow: function($scope, customData) { this.scope = $scope; $scope.customerDg.options.dataSource.sort = {field: "CustNum", dir: "desc"}; } Note: customerDg is the name of view. For a view created using the Blank view option in KUIB 1.1, the syntax is a bit different. Please let me know if you are using KUIB 1.1. I hope this helps, Edsel
Continue reading...
Continue reading...