View Full Version : Tree grid with checkbox model and paginaton

30 Nov 2011, 12:55 AM
Hi all,

Is it possible to include check-box model and pagination in tree grid ?

I tried to implement this, but not working .

can someone suggest how to do that?

30 Nov 2011, 2:36 AM
An Checkbox Selection Model can be used on tree's, just like it can be used on a 'regular grid'

Ext.define("some.abstract.base.Tree", {
extend: "Ext.tree.Panel",
alias: "widget.basetree",
constructor: function(config) {
Ext.applyIf(config, {
border: 0,
bodyStyle: "background-color: transparent;",
rootVisible: false,
selModel: Ext.create("Ext.selection.CheckboxModel"),
hideHeaders: true,
useArrows: true

On pagination. If I'm not mistaken pagination is not supported yet on treestore's. But maybe deferred loading of children is enough split of datathroughput for you?