-
Hello, i need to prevent the 'collapse button' to not tigger my modal. I followed the instruction from the modal documentation itselft, on the sponsored area. It's seems like when i configured into the configure method:
But, now it's seem like the componente will ignore the column even with ->unclickable() instruction explicit on it, and the collapse button will also pop the modal too. How i should disable this behavior, i apreciate any help or orientation. collapse.activtinn.the.modal.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
At the moment, you're using setTrAttributes, which is run before the columns are generated, as it sets the attributes on the before the elements are created. If you use setTdAttributes, then you can test if the Column is unclickable, before appending the attributes. |
Beta Was this translation helpful? Give feedback.
-
Hello lrljoe, thanks for the aproach, this has solved the problem so far, thanks. |
Beta Was this translation helpful? Give feedback.
At the moment, you're using setTrAttributes, which is run before the columns are generated, as it sets the attributes on the before the elements are created.
If you use setTdAttributes, then you can test if the Column is unclickable, before appending the attributes.