Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Peter Wang on Nov 26, 2008 04:45
open dhtmlx forum
ExtJs layout

How do i use dhtmlx to a accomplish a extjs layout 'Framed with Checkbox Selection and Horizontal Scrolling' ?

demo http://www.extjs.com/deploy/dev/examples/grid/grid3.html


Thanks in advance!
Answer posted by Support on Nov 26, 2008 07:10
Just define one column of grid as checkbox and add oncheck logic to onRowSelect event
...
grid.setColTypes("ch,ed");
grid.attachEvent("onRowSelect",function(id){
     grid.cells(id,0).setValue(1);
});