how can i dynamically add column names in dropdownlist
how can i dynamically add column names in dropdownlist
ibrahim_shazley
Posts: 2Questions: 1Answers: 0
hi, i ave data table and want to add column names to dropdown list and toggle and relocate the columns
This discussion has been closed.
Answers
Use the Column Visibility option of the Buttons extension. Examples can be seen here.
Kevin
i want to display customized dropdown and repeat it to add columns to table
What customizations do you want to make?
Are you saying you want to add columns to the Datatable after it has been initialized? There is not an option to dynamically add columns to a Datatable. To change the configuration you will need to reinitialize, using either
destroy
ordestroy()
, and provide the new column configuration.Kevin