Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New DIV in IWGrid HTML code.
#8
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>&nbsp;</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
Reply


Messages In This Thread
New DIV in IWGrid HTML code. - by brsoft - 09-26-2019, 09:37 PM
RE: New DIV in IWGrid HTML code. - by brsoft - 10-04-2019, 09:44 AM
RE: New DIV in IWGrid HTML code. - by brsoft - 10-07-2019, 08:38 PM
RE: New DIV in IWGrid HTML code. - by brsoft - 10-09-2019, 04:22 PM
RE: New DIV in IWGrid HTML code. - by brsoft - 10-09-2019, 07:46 PM
RE: New DIV in IWGrid HTML code. - by brsoft - 10-24-2019, 02:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)