Here is my code from the TaskDG that extends Datagrid, waht I want  is
to lisen for the event from the custom itemRenderer added to the column
with ClassFactory!

switch (filterState) {
                     case 0:
                         this.columns = new Array();
                             column = new DataGridColumn("active");
                             column.headerText = "Active";
                             column.itemRenderer =  new
ClassFactory(TaskActive); // add listner where???? Alex??

                             column.width = 50;
                             column.sortable = false;
                             dgCol.push(column);

                             column = new
DataGridColumn("startDateTime");
                             column.headerText = "Forfallsdato";
                             column.itemRenderer =  new
ClassFactory(ItemDateFormat);
                             dgCol.push(column);

                             this.columns = dgCol;
                             fadeIn.target = this;
                             fadeIn.play();

                     break;


Reply via email to