10-09-2019, 07:46 PM
Hi Jose Nilton Pace,
Thank you for joining the dialogue.
I suggest you try this:
- Create a blank form
- Put an IWGrid on it.
- Enter css and InnerTableCss propertics (for example: css = "origcss", innerTablecss: = "innercss")
- Check the generated HTML code:
<div CLASS="origcss" ID="IWGRID1"><table border="1" cellpadding="0" cellspacing="0" class="innercss" id="TBLIWGRID1" width="100%"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="ZswBfxKVUQz4mxtPm2etPACc2LU" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div>
Check it out: No new div in HTML code.
The value of "innerTableCss" is in the table.
If you have some time, read my second comment in this post. I highlighted the new div in red and gave the terms of its creation:
1. if IWGrid is not directly on the form but in an IWRegion.
2. if IWGrid.UseFrame = True;
3. If IWGrid.font.Enabled = False then style = "" in the new div.
Regards
brsoft
Thank you for joining the dialogue.
I suggest you try this:
- Create a blank form
- Put an IWGrid on it.
- Enter css and InnerTableCss propertics (for example: css = "origcss", innerTablecss: = "innercss")
- Check the generated HTML code:
<div CLASS="origcss" ID="IWGRID1"><table border="1" cellpadding="0" cellspacing="0" class="innercss" id="TBLIWGRID1" width="100%"><caption>IWGrid1</caption>
<thead>
<tr><td> </td></tr></thead>
<tbody></tbody></table><script data-type="iw" nonce="ZswBfxKVUQz4mxtPm2etPACc2LU" type="text/javascript">
var tbl = IW.$("TBLIWGRID1");
if (tbl) {
tbl.style.cssText += tbl.style.cssText;
}
</script></div>
Check it out: No new div in HTML code.
The value of "innerTableCss" is in the table.
If you have some time, read my second comment in this post. I highlighted the new div in red and gave the terms of its creation:
1. if IWGrid is not directly on the form but in an IWRegion.
2. if IWGrid.UseFrame = True;
3. If IWGrid.font.Enabled = False then style = "" in the new div.
Regards
brsoft