:: Forum >>

How to disable perticular column and row

Hi all,
I want to disable perticular row and column in grid. Those disabled column or row values cant be edited. I tried the function which i found in forums. but it didnt working. Please anyone help me to solve this problem.


This is the way i used to disable row and column.
Tuesday, October 9, 2007
You can enable/disable cell editing with cellEditable property -

obj.setCellEditable(true); // enable editing for all columns
obj.setCellEditable(false, 1); // disable editing for column-1

The above code will disable editing for the second column. If you need to disable editing for the particular row you should call obj.setCellEditable(false, col, row) for each cell in that row.
Alex (ActiveWidgets)
Tuesday, October 9, 2007
Hi alex,
Thanx for your support. Those functions are working fine.
Wednesday, October 10, 2007

This topic is archived.

Back to support forum

Forum search