PDA

View Full Version : Multiple checkbox columns in a grid panel in extjs 4.1



stahl.stalin
29 Aug 2012, 1:07 AM
Hi, I am using extjs 4.1. How can i get multiple checkbox columns in a grid where the grid is being populated from some json file? Can anybody give an example?

Thanks

scottmartin
29 Aug 2012, 6:19 PM
You can use checkcolumn:
http://localhost/extjs4/docs/#!/api/Ext.ux.CheckColumn

Another alternative is:
http://skirtlesden.com/ux/component-column

Scott.

stahl.stalin
31 Aug 2012, 10:13 PM
Thanks Scott, I got things done through Ext.ux.CheckColumn. The only things I missed to include is the CheckHeader.css. I also tried to make my things done through 'Skirtle.grid.column.Component' and 'Skirtle.CTemplate', but dint succeed. Is it working with Extjs 4.1 or is there any css file missing at my end as in the earlier case with CheckColumn.