10-04-2019, 09:44 AM
Hi Alexandre
Hi Kudzu
IWGrid HTML code changed in iw15.1.5.
Since you did not respond to my question, I investigated the problem ..
Example:
1. Put IWgrid1 in IWRegion1. (If IWGrid1 is on form, then no problem.)
HTML:
<div CLASS="IWREGION1CSS IWCLIPCONTROL" ID="IWREGION1"><form class="iw_default_submit_form">
<div CLASS="IWGRID1CSS" ID="IWGRID1"><table border="1" cellpadding="0" cellspacing="0" id="TBLIWGRID1" width="300"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="d0TtOwQxz0/25eZAve+/R8fjVgI" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div></form></div>
2. IWGrid1.UseFrame: = True
HTML:
<div CLASS="IWREGION1CSS IWCLIPCONTROL" ID="IWREGION1"><form class="iw_default_submit_form">
<div CLASS="IWGRID1CSS" ID="IWGRID1" style="border-width: 2px; border-style: inset; overflow-x: auto; overflow-y: auto; padding: 0; "><div style="font-weight: normal; font-style: normal; font-size: 13px; text-decoration: none;"><table border="1" cellpadding="0" cellspacing="0" id="TBLIWGRID1" width="100%"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="HQUPRq5+bP+LqjdKgN6Abs0tf1g" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div></div></form></div>
3. IWGrid1.Font.Enabled: = False
HTML:
<div CLASS="IWREGION1CSS IWCLIPCONTROL" ID="IWREGION1"><form class="iw_default_submit_form">
<div CLASS="IWGRID1CSS" ID="IWGRID1" style="border-width: 2px; border-style: inset; overflow-x: auto; overflow-y: auto; padding: 0; "><div style=""><table border="1" cellpadding="0" cellspacing="0" id="TBLIWGRID1" width="100%"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="fHP+aQd1G4vboPFJqlhcEutscgs" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div></div></form></div>
Why is a new div (without ID) appearing in iw15.1.5?
Will it remain so in the future?
Please reply (with at least one number):
1. The next version will include the patch
2. We did it intentionally, this is the future
3. ... we don't understand the problem
Thanx
brsoft
Hi Kudzu
IWGrid HTML code changed in iw15.1.5.
Since you did not respond to my question, I investigated the problem ..
Example:
1. Put IWgrid1 in IWRegion1. (If IWGrid1 is on form, then no problem.)
HTML:
<div CLASS="IWREGION1CSS IWCLIPCONTROL" ID="IWREGION1"><form class="iw_default_submit_form">
<div CLASS="IWGRID1CSS" ID="IWGRID1"><table border="1" cellpadding="0" cellspacing="0" id="TBLIWGRID1" width="300"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="d0TtOwQxz0/25eZAve+/R8fjVgI" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div></form></div>
2. IWGrid1.UseFrame: = True
HTML:
<div CLASS="IWREGION1CSS IWCLIPCONTROL" ID="IWREGION1"><form class="iw_default_submit_form">
<div CLASS="IWGRID1CSS" ID="IWGRID1" style="border-width: 2px; border-style: inset; overflow-x: auto; overflow-y: auto; padding: 0; "><div style="font-weight: normal; font-style: normal; font-size: 13px; text-decoration: none;"><table border="1" cellpadding="0" cellspacing="0" id="TBLIWGRID1" width="100%"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="HQUPRq5+bP+LqjdKgN6Abs0tf1g" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div></div></form></div>
3. IWGrid1.Font.Enabled: = False
HTML:
<div CLASS="IWREGION1CSS IWCLIPCONTROL" ID="IWREGION1"><form class="iw_default_submit_form">
<div CLASS="IWGRID1CSS" ID="IWGRID1" style="border-width: 2px; border-style: inset; overflow-x: auto; overflow-y: auto; padding: 0; "><div style=""><table border="1" cellpadding="0" cellspacing="0" id="TBLIWGRID1" width="100%"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="fHP+aQd1G4vboPFJqlhcEutscgs" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div></div></form></div>
Why is a new div (without ID) appearing in iw15.1.5?
Will it remain so in the future?
Please reply (with at least one number):
1. The next version will include the patch
2. We did it intentionally, this is the future
3. ... we don't understand the problem
Thanx
brsoft