SMART datagrid v.1 > Classes

Back  Forward

DataLudi.RowFilter  class

It is the object which specifies filter Expression or Callback Function to get only the data rows of matching the condition when organizing grid row model from DataSet

It is used as GridBase.rowFilter property, and this filter information is managed in row model internally. 

Base Classes
EventAware > DLBase
Properties
active
callback
expression
Inherited Methods
EventAware.addListener
DLBase.assign
DLBase.getProperties
DLBase.getProperty
EventAware.removeListener
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

Code -1
    // Get and display only the top 10 rows.
    grid.setRowFilter({
    	callback: null,
    	expression: "row < 10"
    });
See Also
GridBase.rowFilter
Expression Overview
Examples
Row Filtering