:: Forum >>

Single Line Selection in a grid

Hi

I have a grid with row selection set (ie not column selection) - which works like a dream.

The problem lies when you select a line by clicking an empty column.

This is extremely limiting. Can anybody suggest a workaround?

I need a grid row to be selectable if the column is blank and not just when data is in a column. The click also gets ignored if the column is only partially filled. Ie the text doesent completely pad the column.

Thanks in advance
Simon Mitchell
Friday, June 9, 2006
Can you give more details as I cannot replicate this. In the following code the row gets selected just fine if I click on an empty cell -

var obj = new AW.UI.Grid;
obj.setCellData("cell");
obj.setCellText("", 1, 1);

obj.setColumnCount(10);
obj.setRowCount(10);
obj.setSelectionMode("single-row");

document.write(obj);
Alex (ActiveWidgets)
Friday, June 9, 2006

This topic is archived.


Back to support forum

Forum search