Hello,
How can I set the field header of a boolean field in a ListGrid to show a checkbox control, similar to the checkbox which appears on the selection column when selectionAppearance="checkbox".
For example, consider the following sample code (based on showcase https://www.smartclient.com/smartcli...listGridFields):
Assuming I I need the column 'G8' to show a checkbox on its header, just like the selection column header.
I will also need it to behave the same way - i.e to select\clear all the values in the G8 column and to reflect the current selection (true\false\partial).

Could you suggest the recommended way to approach this?
I am working with Smart Client V12.0p
Thanks
How can I set the field header of a boolean field in a ListGrid to show a checkbox control, similar to the checkbox which appears on the selection column when selectionAppearance="checkbox".
For example, consider the following sample code (based on showcase https://www.smartclient.com/smartcli...listGridFields):
Code:
isc.ListGrid.create({
ID: "countryList",
width:500, height:224, alternateRecordStyles:true,
canEdit:true,
selectionAppearance:"checkbox",
fields:[
{name:"countryCode", title:"Code"},
{name:"countryName", title:"Country"},
{name:"member_g8", title:"G8", type:"boolean"},
{name:"independence", title:"Nationhood", type:"date", width:100},
{name:"population", title:"Population", type:"integer"},
{name:"gdp", title:"GDP", type:"float"}
],
data: countryData
})
I will also need it to behave the same way - i.e to select\clear all the values in the G8 column and to reflect the current selection (true\false\partial).
Could you suggest the recommended way to approach this?
I am working with Smart Client V12.0p
Thanks
Comment