Hi,
We have a question about the clearSort() method for ListGrid. We notice that after calling clearSort() the direction arrow on table header disappears but the the previous sorted field's header button is still clicked.
Is there any way to also clear the header button click status?
We are using SmartClient v8.3p_2015-01-31/PowerEdition.
Please try the following standalone:
To reproduce: Click the "Clear Sort" button.
Thanks!
We have a question about the clearSort() method for ListGrid. We notice that after calling clearSort() the direction arrow on table header disappears but the the previous sorted field's header button is still clicked.
Is there any way to also clear the header button click status?
We are using SmartClient v8.3p_2015-01-31/PowerEdition.
Please try the following standalone:
To reproduce: Click the "Clear Sort" button.
Thanks!
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:224,
data: countryData,
sortField: "countryName",
fields:[
{name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"},
{name:"countryName", title:"Country"},
{name:"continent", title:"Continent"}
]
})
isc.IButton.create({
left:0, top:240,
title:"Clear Sort",
click:"countryList.clearSort()"
})