3.2.0

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
July 3,
The correct code would be

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

http://www.activewidgets.com/aw.ui.grid/row-mouse-events.html
http://www.activewidgets.com/aw.ui.grid/cell-mouse-events.html
Alex (ActiveWidgets)
July 3,
Working nicely!
Myshka
July 4,

This topic is archived.

See also:


Back to support forum