goree Posted June 4, 2022 Share Posted June 4, 2022 Example i have data Html <div class="fresh-table full-color-orange full-screen-table"> <table id="fresh-table" class="table"> <thead> <tr> <th data-field="id">id</th> <th data-field="name" data-sortable="true">PDF ID</th> <th data-field="salary" data-sortable="true">PDF NAME</th> <th data-field="country" data-sortable="true">PDF DATE</th> <th data-field="actions" data-formatter="operateFormatter" data-events="operateEvents">Actions</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Dakota Rice</td> <td>$36,738</td> <td>Niger</td> <td></td> </tr> <tr> <td>2</td> <td>Minerva Hooper</td> <td>$23,789</td> <td>Curaçao</td> <td></td> </tr> <tr> <td>3</td> <td>2022-05-0001</td> <td>p1.jpg</td> <td>2022-05-10</td> <td></td> </tr> // i want add data from xdata Here How make source code .pas </tbody> </table> Link to comment Share on other sites More sharing options...
Sherzod Posted June 4, 2022 Share Posted June 4, 2022 Hello, Your question is not clear. Link to comment Share on other sites More sharing options...
picyka Posted June 4, 2022 Share Posted June 4, 2022 1 hour ago, goree said: Example i have data Html <div class="fresh-table full-color-orange full-screen-table"> <table id="fresh-table" class="table"> <thead> <tr> <th data-field="id">id</th> <th data-field="name" data-sortable="true">PDF ID</th> <th data-field="salary" data-sortable="true">PDF NAME</th> <th data-field="country" data-sortable="true">PDF DATE</th> <th data-field="actions" data-formatter="operateFormatter" data-events="operateEvents">Actions</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Dakota Rice</td> <td>$36,738</td> <td>Niger</td> <td></td> </tr> <tr> <td>2</td> <td>Minerva Hooper</td> <td>$23,789</td> <td>Curaçao</td> <td></td> </tr> <tr> <td>3</td> <td>2022-05-0001</td> <td>p1.jpg</td> <td>2022-05-10</td> <td></td> </tr> // i want add data from xdata Here How make source code .pas </tbody> </table> I think you should take your api list, and create the html at runtime Link to comment Share on other sites More sharing options...
Recommended Posts