Ext JS - Learning Center

Extension:SelectiveCheckboxSelectionModel

From Learn About the Ext JavaScript Library

Revision as of 09:18, 15 May 2009 by BitPoet (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Summary: Extension to the CheckboxSelectionModel with a filter which rows should be selectable
Author: BitPoet
Published: March 24 2009
Version: 1.02
Ext Version: 2.x
License: http://en.wikipedia.org/wiki/WTFPL
Demo Link: View Demo
Forum Post: View Post

Extension

Extends the CheckboxSelectionModel. Adds the checkboxCondition config option to the GridPanel which expects a function that returns true if a checkbox should be present for a row or false if not. The function is passed the same parameters as documented in the setRenderer-method of Ext.grid.ColumnModel.