In the sample code there is a duplicated column (countryName), which is an usage error, and we can't reproduce the problem if the usage error is fixed.
Regards
Isomorphic Software
Announcement
Collapse
No announcement yet.
X
-
Awaiting for your reply. We have a production issue because of this.
Leave a comment:
-
Arabic Mode - rtl mode we are unable to get the column number properly in the cellClick event for ListGrid
Dear Team,
We are using Smarclient 11.0 enterprise edition
In the below example which you have given in the forum, I have modified a little bit as shown below with html tag direction as rtl.
In the cell click event we are not getting the proper colNum only in rtl mode.
Please find the below testing code that would be help you in testing.
Note: For html tag put the direction as rtl
http://localhost:8080/isomorphic/sys...databoundFetch
Code:isc.ListGrid.create({ ID: "countryList", allowFilterExpressions: true, canEdit:false, height:400, dataPageSize: 1000, alternateRecordStyles:true, autoFetchData:false, alternateRecordStyles:true, showFilterEditor:true, width:500, height:224, dataSource: worldDS, autoFetchData:true, cellClick:function(record,rowNum,colNum,editType) { console.log(colNum); }, fields:[ {name:"countryCode",showIf:"false"}, {name:"government",showIf:"false"}, {name:"countryName"}, {name:"capital"}, {name:"continent"}, {name:"countryName", title:"Country"}, {name:"independence", title:"Nationhood", type:"date", width:100}, {name:"population", title:"Population", type:"integer"}, {name:"gdp", title:"GDP", type:"float"}, ] }) isc.IButton.create({ left:0, top:240, width:160, title:"Fetch Code: US", click:"countryList.fetchData({countryCode:'US'})" }) isc.IButton.create({ left:170, top:240, minWidth:160, autoFit:true, title:"Fetch Continent: Europe", click:"countryList.fetchData({continent:'Europe'})" }) isc.IButton.create({ left:340, top:240, width:160, title:"Fetch All", click:"countryList.fetchData()" })
Awaiting for your response ASAP.
Thanks & Regards.Tags: None
Leave a comment: