Dynamic definiton of Column widths
Dynamic definiton of Column widths
Hello,
We are having a problem with some dynamic definition of widths in a horizontally scrollable table. Currently, we have a the draw callback defining the full definition of all columns widths, where we check the content of each column and define its width. But, when the scroll callback is called, it uses the definition of datatables of widths, which do not have any content, since we are only defining the widths in the draw. Do you have any idea how can we write these values in the draw, or instead of it, force the scroll callback to use the widths defined by us?
Any tip or help will be highly appreciated, thank you! :)
Cheers,
Diogo Mariano
We are having a problem with some dynamic definition of widths in a horizontally scrollable table. Currently, we have a the draw callback defining the full definition of all columns widths, where we check the content of each column and define its width. But, when the scroll callback is called, it uses the definition of datatables of widths, which do not have any content, since we are only defining the widths in the draw. Do you have any idea how can we write these values in the draw, or instead of it, force the scroll callback to use the widths defined by us?
Any tip or help will be highly appreciated, thank you! :)
Cheers,
Diogo Mariano
This discussion has been closed.