Hide the "Plus" sign when no child data exists?
Hide the "Plus" sign when no child data exists?
I've created my own child rows show extra/detail information DataTable. However, the user has requested if there isn't any child information to display, can we not have the "Plus" sign there?
This discussion has been closed.
Answers
Datatables uses
columns.classnamein order to add thedetails-controlclass which toggles the more info icon. You could usecreatedrowinstead to decide if a row should have the class.Thanks
Tom