hi i have one datable implemented with primeui
but i have one requirement y to hide columns in the datable so
how can i do this
Regards
hidden columns datatable primeui
i develop some workaround that is repaint the data but in order to do this i created one div parent and in the child repaint the data
the parent div is tblllocal
in mi case i have one request that send me the configuration data table by rest, i got this configuration in one variable that i call table in the javascript
every time that i want to reconfigure the columns i delete the parent content div and create the table in one div that is the child that is table
$('#tbllocal').empty();
jQuery('<div/>', {
id: 'table',
}).appendTo('#tbllocal');
$('#table').puidatatable(table)
if some one has other solution please let me to know
the parent div is tblllocal
in mi case i have one request that send me the configuration data table by rest, i got this configuration in one variable that i call table in the javascript
every time that i want to reconfigure the columns i delete the parent content div and create the table in one div that is the child that is table
$('#tbllocal').empty();
jQuery('<div/>', {
id: 'table',
}).appendTo('#tbllocal');
$('#table').puidatatable(table)
if some one has other solution please let me to know
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests