Hello I have implemented a datagrid like the tutorial :
allPayments_ui DataGrid{layoutData = new GridLayoutData{row = 2, column = 1, verticalAlignment = GridLayoutLib.VALIGN_TOP},selectionListeners ::= cellClicked, headerBehaviors =[], columns =[
new DataGridColumn{name = "category", displayName = "Type", formatters =[formatCategory
]},
new DataGridColumn{name = "description", displayName = "Description", width = 120},
new DataGridColumn{name = "amount", displayName = "Amount due", width = 85, alignment = DataGridLib.ALIGN_RIGHT}
], data = allPayments as any[],
Is it possible to create an event so that if I click on the first column of datagrid I can add code to resize the width of the column?
Thanks
michaeldefox