How to access HTML button once created?
I know how to add a button at the top of the grid with following code (found in the documentation):
var button = new Active.HTML.BUTTON;
But I don't know how to modify this button when an action is fired on the grid. For example, I would like to modify the button's style when the user clicks a cell.
Thanks for your help !
button.setStyle("border", "1px solid red");
var obj = new Active.Controls.Grid;
functions setStyle, setClass and setAttribute apply changes immediately. function setContent requires calling refresh() to repaint the object content.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.