Flex: Database driven DataGrid: arrows disappearing
问题 In Flex I'm using the following code to allow sorting in a DataGrid (the data is paged and sorted serverside). private function headerReleaseHandler(event:DataGridEvent):void { var column:DataGridColumn = DataGridColumn(event.currentTarget.columns[event.columnIndex]); if(this.count>0) { if(this.query.SortField == column.dataField) { this.query.SortAscending = !this.query.SortAscending; } else { this.query.SortField = column.dataField; this.query.SortAscending = true; } this.fill(); } event