:: Forum >>

Buttons in a grid?

Is it possible to have custom buttons (or Active Widget Button) in a grid? We need that for picking dates and items for filling various cells in a row. This is for use in a web-based order/order items application.
If regular buttons are not possible, any workaround (images, classes) with onclick event that can open a new window or "modal" dialog would do the trick. Any insight is helpful. Thank you!
Hans Fast
Thursday, April 24, 2008
You can just put any html into the grid cells -

obj.setCellText('<button>Click me</button>', 1, 1);

or make custom cell template -

http://www.activewidgets.com/grid.examples/indicator-template.html
Alex (ActiveWidgets)
Thursday, April 24, 2008

This topic is archived.


Back to support forum

Forum search