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.
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.