Same Table Design at Custom File

I am trying to create a Table at Custom File
which have the same design as the Database Table List design.
I try as -

Date
Time
22/05/2020 08:06:34
22/05/2020 07:27:56

But the above table design is not same as the Database Table design.
Please kindly help where the error is.
Thanking You.

That is because the HTML you entered is not the same as that of the List page. The example in the help file is to show you how to show the data with different HTML. You may press F12 in your browser to view the HTML.

If you want a page same as the List page, why use Custom File? You may just create a view and generate a List page for the view.

I want the Table list Design not the Data.
I have my custom data which is not store in the database but would like to display just like the TableList Page.

From the F12 i copy all the table code and paste to the custom file
but still the design/view is not as with in the List.Page.

\
Date
Time
22/05/2020 09:51:29
22/05/2020 09:51:39

bui wrote:

but still the design/view is not as with in the List.Page.

  1. What is not like List page?
  2. Note that you added ‘style=“background-color: #FFFF00”’ yourself.

I have remove the style but still the look is not same.
In my project I have selected HTML->THEME-> to RED
As per that theme my below table header should have the color red but it is not showing in red color.
I want all the Theme which use in the table from the project theme to be use in my custom file table.

\
Date
Time
22/05/2020 09:51:29
22/05/2020 09:51:39

arbei wrote:

You may press F12 in your browser to view the HTML.

In the List page the table is inside a div with class=“ew-grid”. The List page theme styles only applies to HTML inside the grid.

Thanks @arbei. It is working.