Need editable cells AND obj.setSelectionMode("single-row")
I need to click on a cell and have it editable. I achieved this with:
obj.setCellEditable(true);
I also need to highlight a row when the use has clicked on a row. If I enable:
obj.setSelectionMode("single-row");
then the row will highlight via onclick, but the cell is no longer editable. How can I achieve both of these?
Ryland22
September 2,
I'm doing something similar: I use the "single-cell" selection mode and i put the row selector to visible.
The grid appear to edit the cell while selecting rows at the same time (the rows highlights clicking on the selector), but the selector himself doesn't change - i mean the selctor looks exactly like before clicking on it.
Can you tell me how to fix this?
Code:
grid_art.setId("grid_articoli");
grid_art.setToolbar(true,"Articoli Richiesti");
grid_art.setHeaderHeight(30);
grid_art.getHeadersTemplate().setClass("text", "wrap");
grid_art.setCellText("");
grid_art.setHeaderText("");
grid_art.setSelectionMode("single-cell");
grid_art.setCellEditable(true,4);
grid_art.setCellEditable(true,5);
grid_art.setCellEditable(true,6);
grid_art.setCellEditable(true,23);
grid_art.setCellTemplate(new AW.Templates.Text, 0);
grid_art.setSelectorTemplate(new AW.Templates.CheckedItem);
grid_art.setSelectorVisible(true);
grid_art.setSelectorWidth(25);
Fily84
September 30,