FSI API: Data list
Show or hide row count
fsi.rowCount('<control id>',<show or hide>); Shows or hides the row count on the named data list.
- You can also use true or false.
Refresh data
fsi.refreshDataList('<control id>'); Refreshes the data displayed in the named data list.
Filter
fsi.dataListFilter('<control id>',<column name>,<column value>); Filters the named data list by the supplied column name/value.
This example filters the data list Datalist-m2o7 to display employee records for taxi drivers:
function filterTest(){
fsi.dataListFilter('Datalist-m2o7','Role','TaxiDriver');
}