Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82034

Correctly re-creating the table with all its settings

$
0
0

Hi,

I need to modify an existing option and, as far as I found out, the best way would be to re-initialise the table with the modified version of its previous settings. However, the question is, how can I reliably get the settings object belonging to my grid?

According to this, I can get it via settings, but it might return more than one object. How can I identify which one belongs to the grid?

In case of suggestions to initialise grid with the right setting in the first place - it's hardly possible since the initialisation code is used in various places and only one place requires this setting to differ. Making this generic initialisation code configurable is also pretty hard and time-consuming, so I'd like to leverage a quick-and-dirty workaround if possible.

Thanks


Viewing all articles
Browse latest Browse all 82034

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>