3.2.0

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
February 7,
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)
February 12,

This topic is archived.

See also:


Back to support forum