:: Forum >>

grid obj.setAction breaks grid inside of tabbed form

I have a tabbed form like dialog.htm. Inside it is a grid object. I'm trying to grab the click event when the user selects a row.

The grid is working fine in all other respects. Nice display, etc.

Adding the setAction property causes the grid to not display when the grid object is joined for the acteve tab.

grid1.setAction("click", alert('hi'));

Inserting this line causes the grid to not display in the tabbed area. Removing it restores the display.

I'm trying to use the grid as a selector for a search.

Myshka
Thursday, July 3, 2008
The correct code would be

grid1.onRowClicked = function(event, rowIndex){
alert("hi");
}

/aw.ui.grid/row-mouse-events.html
/aw.ui.grid/cell-mouse-events.html
Alex (ActiveWidgets)
Thursday, July 3, 2008
Working nicely!
Myshka
Friday, July 4, 2008

This topic is archived.


Back to support forum

Forum search