:: Forum >>

input text column in grid

I am loading data in table from XML.
I have been looking at the forums and didn't find answer to this simple requirement.
How do we make a coulmn of grid enterable?
I want something like a textbox which will retain the user entered values and I shuld be able to retrieve these values in my js.

Thanks in advance!
kim
Thursday, February 7, 2008
Use setCellEditable() method -

grid.setCellEditable(true); // all columns
grid.setCellEditable(true, 1); // column-1

If you want some column to look like input box - use AW.Templates.Input class -

grid.setCellEditable(true, 1);
grid.setCellTemplate(new AW.Templates.Input, 1);

Alex (ActiveWidgets)
Tuesday, February 12, 2008

This topic is archived.


Back to support forum

Forum search