The first row of the HTML produced by the LIST_TABLE() function seems to be missing opening and closing <tr> tags.
Ideally that first row should also be wrapped in <thead></thead> tags and the remain rows in <tbody> </tbody> tags. This would make the HTML code complete and enable adoption of various table javascripts and CSS libraries to the table.
LIST_TABLE() HTML output
-
- Posts: 197
- Joined: Fri Jun 17, 2016 7:10 am
- Location: Brisbane Australia
- Contact:
LIST_TABLE() HTML output
AWS Linux, Windows Server, AIM 8.4 & 8.6
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: LIST_TABLE() HTML output
The first line should have <th></th>, not <tr>. Does it?
Aware IM Support Team
-
- Posts: 197
- Joined: Fri Jun 17, 2016 7:10 am
- Location: Brisbane Australia
- Contact:
Re: LIST_TABLE() HTML output
First line is
where quantity of <th></th> will be determined by number of attributes requested
it should be ?
Code: Select all
<th></th><th></th><th></th>
it should be ?
Code: Select all
<tr><th></th><th></th><th></th></tr>
AWS Linux, Windows Server, AIM 8.4 & 8.6
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
-
- Posts: 197
- Joined: Fri Jun 17, 2016 7:10 am
- Location: Brisbane Australia
- Contact:
Re: LIST_TABLE() HTML output
Sorry you do not seem to be understanding me.
Yes I agree <th></th> is correct for cells of the first row of the table HTML. What is missing from the output of LIST_TABLE() for the first row is the <tr></tr> that should envelope that first row.
This is some HTML I am getting from LIST_TABLE()
There is no <tr> between and
The first row is missing both starting <tr> and closing </tr>
Yes I agree <th></th> is correct for cells of the first row of the table HTML. What is missing from the output of LIST_TABLE() for the first row is the <tr></tr> that should envelope that first row.
This is some HTML I am getting from LIST_TABLE()
Code: Select all
<table cellpadding="0" cellspacing="0" border="1" ><th> Number </th><th> Surname </th><th> Workplace Name </th><th> First Name </th><th> Number </th><tr><td>
Code: Select all
<table cellpadding="0" cellspacing="0" border="1" >
Code: Select all
<th>
AWS Linux, Windows Server, AIM 8.4 & 8.6
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: LIST_TABLE() HTML output
You are right. This will be fixed in the next build.
Aware IM Support Team