Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to delete or add column in grid panel

Tags:

extjs

extjs3

grid.getcolumnModel().setHidden(0,true) will be effected for column menu and not grid panel. In column menu u can enable or disable the column. How do we add or remove the column in grid panel dynamically?

like image 783
xrx215 Avatar asked May 04 '10 15:05

xrx215


People also ask

How do I delete a column grid?

There are three ways to remove a column from a grid: Right-click the column header and choose Remove This Column.


1 Answers

I think this is what you are looking for http://www.extjs.com/forum/showthread.php?53009-Adding-removing-fields-and-columns

Make sure you look at post #37 in the thread as well.

like image 176
SBUJOLD Avatar answered Oct 01 '22 04:10

SBUJOLD