Originally posted by Blama
View Post
Code:
isc.Page.clearEvent('resize');
isc.ListGrid.create({ ID: "countryList", width:525, height:600, alternateRecordStyles:true, leaveScrollbarGap: true, canRemoveRecords: true, dataSource: worldDS, fields:[ {name:"countryCode", width:60}, {name:"countryName"}, {name:"capital"}, {name:"continent"}, {name:"area"}, {name:"population"} ], autoFetchData: true, showFilterEditor: false, allowFilterExpressions: true, initialCriteria: { _constructor: "AdvancedCriteria", operator: "and", criteria: [ { fieldName: "countryName", operator: "iNotContains", value: "i" }, { fieldName: "capital", operator: "iBetweenInclusive", start: "A", end: "FZZZZZZZZZZ" }, { _constructor: "AdvancedCriteria", operator: "or", criteria: [ { fieldName: "population", operator: "lessThan", value: "1000000" }, { fieldName: "population", operator: "greaterThan", value: "100000000" } ] } ] } });
isc.Page.clearEvent('resize');
isc.ListGrid.create({ ID: "countryList", width:525, height:600, alternateRecordStyles:true, leaveScrollbarGap: true, canRemoveRecords: true, dataSource: worldDS, fields:[ {name:"countryCode", width:60}, {name:"countryName"}, {name:"capital"}, {name:"continent"}, {name:"area"}, {name:"population"} ], autoFetchData: true, showFilterEditor: false, allowFilterExpressions: true, initialCriteria: { _constructor: "AdvancedCriteria", operator: "and", criteria: [ { fieldName: "countryName", operator: "iNotContains", value: "i" }, { fieldName: "capital", operator: "iBetweenInclusive", start: "A", end: "FZZZZZZZZZZ" }, { _constructor: "AdvancedCriteria", operator: "or", criteria: [ { fieldName: "population", operator: "lessThan", value: "1000000" }, { fieldName: "population", operator: "greaterThan", value: "100000000" } ] } ] } });
Leave a comment: