disable bubble on specific rows
disable bubble on specific rows
Hello,
I want to disable row when data = 0 for example.
waiting for your reply,
Nicolas
This question has an accepted answers - jump to answer
This discussion has been closed.
Hello,
I want to disable row when data = 0 for example.
waiting for your reply,
Nicolas
This question has an accepted answers - jump to answer
Answers
I would suggest you add a check into the code where you call
bubble()to check if there is any data in the table. Thepage.info()method will tell you that piece of information.Allan
The page info() is a 404 - Page not found ^^
Thanks for your reply
I find on Google !
Sorry - corrected my API now.
Allan
Hello Allan,
I don't think page.info() can help me.
I only want to disable the bubble but the users can see this row (They can't change the values of the row).
The example : https://editor.datatables.net/examples/bubble-editing/options.html
But i want to affect the rows...
Thank you very much for your quick responses
Which row?
If we take the example :
https://editor.datatables.net/examples/bubble-editing/options.html
I want to disable the bubble on the row where office is equal to tokyo ?
But the bubble works when office is different of tokyo ...
Use
row().data()to check if the row's data. Use a simpleifcondition before calling thebubble()method and check if it Tokyo or not.Allan
Thank you Allan,
It works.