I have created a Listgrid with filtering options. This works. I now need to prepopulate the start filter fields.
I am using a javascript for smartclient.
Initially it has no filter values.
So list grid is :
isc.ListGrid.create({
ID : "cmUserList",
dataPageSize: 100,
drawAheadRatio: 1,
// width : "40%",
// height : 300,
alternateRecordStyles : true,
dataSource : "CmcrmUsers",
autoFetchData : true,
fields : [ { name: "contactName",title : "Contact Name" },
{ name: "email" , title: "E-mail" },
{ name: "id" , title: "id" },
{ name: "businessPartnerName", title: "Business Partner"}
],
showFilterEditor : true,
filterOnKeypress: true
})
I would like to ensure the filter starts with contactName as a value eg "Tom Smith"
is this possible ?
Sorry I have not listed the smartclient version . Can we see this value in the console ?
I am using a javascript for smartclient.
Initially it has no filter values.
So list grid is :
isc.ListGrid.create({
ID : "cmUserList",
dataPageSize: 100,
drawAheadRatio: 1,
// width : "40%",
// height : 300,
alternateRecordStyles : true,
dataSource : "CmcrmUsers",
autoFetchData : true,
fields : [ { name: "contactName",title : "Contact Name" },
{ name: "email" , title: "E-mail" },
{ name: "id" , title: "id" },
{ name: "businessPartnerName", title: "Business Partner"}
],
showFilterEditor : true,
filterOnKeypress: true
})
I would like to ensure the filter starts with contactName as a value eg "Tom Smith"
is this possible ?
Sorry I have not listed the smartclient version . Can we see this value in the console ?
Comment