Is it possible to call a function using datagrid column items? I want to call the function while the user clicks the particular column item in the datagrid? Thank you already ...
You have to provide an eventholder on the datagram, and use a switch To do that, which calls the function based on what you click on
myDataGrid.addEventListener (DataGridEvent.ITEM_FOCUS_IN, clickFunction); Personal Function Clickfunction (E: Datagroup Event): Zero {Switch (e.label) {case 'function1': function1 (); break; Case 'function2': function2 (); break; ...}}
Comments
Post a Comment