Hello Isomorphic,
We are using SmartClient Version: v8.3p_2013-07-18/Pro Deployment. We were wondering if there was a way to get rid of the sort arrow in just the corner of the ListGrid while keeping the background skin and the sort arrows for the columns. A lot of our users are getting confused with the sort arrows in the corner.
We still want the sortAscending and sortDescending images for the individual columns so setting sortAscendingImage and sortDescendingImage to null is not an option since that would remove these sort images for the columns as well as the corner of the list grid.
I tried setting showSortArrow to "field" but this gives a white background in the corner. It would be nice if just the arrow was not there but the gray background still was since it looks a little out of place (see screenshot).
Thanks.
We are using SmartClient Version: v8.3p_2013-07-18/Pro Deployment. We were wondering if there was a way to get rid of the sort arrow in just the corner of the ListGrid while keeping the background skin and the sort arrows for the columns. A lot of our users are getting confused with the sort arrows in the corner.
We still want the sortAscending and sortDescending images for the individual columns so setting sortAscendingImage and sortDescendingImage to null is not an option since that would remove these sort images for the columns as well as the corner of the list grid.
I tried setting showSortArrow to "field" but this gives a white background in the corner. It would be nice if just the arrow was not there but the gray background still was since it looks a little out of place (see screenshot).
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, data: countryData, fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"countryName", title:"Country"} ], // initial sort on Population, high-to-low sortFieldNum: 1, sortDirection: "descending", showSortArrow: "field" // other values: "field", "both", "none" })
Comment