Skip to content

masoudtabatabaei/table-placeholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Table Placeholder

To create a better user experience before the data is loaded in the table, table placeholder is shown; as soon as data was loaded ,placeholder disappears!



Call table placeholder like below:

tableLoading(tableSelector , columnsNumber , rowsNumber);

For example assume if you have a table with class myTable with 5 columns and 3 rows then call like below:

tableLoading(".myTable" , 5 , 3);