Announcement
Collapse
No announcement yet.
X
-
Wrong button selected with sortField and frozen columns
Hi,
When I have frozen columns and a sortField set on a grid then the wrong header button is shown as selected. This is because the fieldNum used to select the button is not corrected for the frozen columns.
To reproduce, try this in the http://www.smartclient.com/index.jsp#simpleFreeze
example:
Code:isc.ListGrid.create({ ID: "supplyList", width:500, height:224, dataSource: supplyItem, autoFetchData: true, sortField: 'category', fields:[ {name:"itemName", frozen:true, width:150}, {name:"category", width:100}, {name:"SKU", width:100}, {name:"units", width:80}, {name:"description", width:250} ] })
Tags: None
Leave a comment: