CheckBox inside DataGrid


i create data grid check boxes inside cells of column named "checkcolumn".

in class implements icellrenderer code:

 

public class checkcellclass extends checkbox implements icellrenderer {

 

     .... stufffs....

     .... stufffs....

 

     public function set data(d:object):void {

            _data = d;

            _selected = _data["checkcolumn"];

            label = "";

     }

}

 

problem: metod works, make necessary new class each column wich uses checkboxes, cause of column name in statement: _selected = _data["checkcolumn"];

 

so, need workaround label in object. in as2 cellrenderer.getdatalabel() function equivalent in as3?



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support