hidden columns datatable primeui

jQuery UI Widgets
Post Reply
jesusechn
Posts: 2
Joined: 06 Mar 2014, 19:39

14 Mar 2018, 17:58

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

jesusechn
Posts: 2
Joined: 06 Mar 2014, 19:39

02 Apr 2018, 19:28

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests