Welcome Guest, Not a member yet? Register   Sign In
HTML Table Class proper use
#1

Hello
with a little of surprise I observed that the whole page of the guide here
https://codeigniter4.github.io/userguide...table.html
doesn't mention at all the words "model", "view" and nor "controller" :-(

there, a real full example may be really welcome (controller + view snippets)

So as principle I suppose that the code snippets in that pages should be used in a controller but I'm a bit confused about the view part, so I thank in advance for any kind clarification

In particular, I kindly ask how to properly use the HTML Table Class to display the results of my query in an HTML table, but displacing it in a PORTION of a view where in others portions of the same view, others queries will I output others kind of data (best practice for this, e.g like in a dashboard)

as plus (but this becomes off topic)
My final goal will be to provide also some sorting for the table' columns and when a new sorting happen, to have only the portion of the HTML table to be refreshed (HTMX?) . If you have any hint about this too, it would be great with many thanks in advance
Reply


Messages In This Thread
HTML Table Class proper use - by Corsari - 04-21-2023, 02:38 PM
RE: HTML Table Class proper use - by luckmoshy - 04-21-2023, 07:41 PM
RE: HTML Table Class proper use - by Corsari - 04-21-2023, 10:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB