Hi,
We observe an issue for ListGrid.getEditRow() on IE: When we are leaving the edit mode of a row, ListGrid.getEditRow() returns null if "modalEditing" is true.
We are using SmartClient_v83p_2013-09-01_PowerEdition. This issue can be reproduced on IE (8, 9 and 10), but on FF12 and Chrome it works fine.
Please try the following code in Feature Explorer with the "countryData" data. Thanks!
Steps to reproduce:
1. Click any row to enter the edit mode.
2. Click any other row to leave the edit mode for the row in step one.
On FF12 and Chrome, ListGrid.getEditRow() returns correct row number for the row in step one. However, on IE it returns null.
We observe an issue for ListGrid.getEditRow() on IE: When we are leaving the edit mode of a row, ListGrid.getEditRow() returns null if "modalEditing" is true.
We are using SmartClient_v83p_2013-09-01_PowerEdition. This issue can be reproduced on IE (8, 9 and 10), but on FF12 and Chrome it works fine.
Please try the following code in Feature Explorer with the "countryData" data. Thanks!
Steps to reproduce:
1. Click any row to enter the edit mode.
2. Click any other row to leave the edit mode for the row in step one.
On FF12 and Chrome, ListGrid.getEditRow() returns correct row number for the row in step one. However, on IE it returns null.
Code:
isc.Label.create({ top: 230, width: 300, height: 25, ID: "myLabel" }); isc.ListGrid.create({ ID: "countryList", width:500, height:224, data: countryData, editEvent: "click", modalEditing: true, fields:[ {name:"countryName", title:"Country"}, {name:"continent", title:"Continent", canEdit: true, editorType:"text",editorProperties:{ blur: function(form, item) { if (item.grid != null) { myLabel.setContents("The row leaving edit mode is row number "+ item.grid.getEditRow());} }}}]});
Comment