Hi!
I am using your AdvWebGrid component on a region bound to a AdvMessageDialog compo (Delphi XE2 / IW12).
IWAdvWebGrid.MouseSelect = msSingleRowCheck.
I use the IWAdvMessageDialogButtonClick event to get the checked row
for i := 0 to grdKSearch.TotalRows-1 do
begin
if grdKSearch.RowChecked then
begin
WebApplication.ShowMessage('selected row: ' + InTToStr(i));
exit;
end;
end;
in Firefox this works fine, in IE9 the RowChecked[] function will always return "false", wether a row was checked or not. I tried msRowChecked instead of msSingleRowCheck but with the same behavior.
How can I make "RowChecked[]" work with IE9?
Thx
Detlev
This issue is related to how IE9 is handling the DOM changes required to display the IWRegion inside the IWAdvMessageDialog. Unfortunately we have no control over how the browser handles these changes.
We'll have to investigate if this behavior can be improved in a future version of the TIWAdvMessageDialog.