Request new type of button ("Info" or "Help")

Request new type of button ("Info" or "Help")

Loren MaxwellLoren Maxwell Posts: 387Questions: 94Answers: 10

I'm just making a feature request that I think would be a great addition to the other standard buttons.

The new button would be an "Info" or "Help" button that the viewer could click and it would open a collapsible div that would contain some information about the table, a legend, or maybe even directions for editing the data, etc. At any rate, the developer would decide what would be in the collapsible div.

I can achieve that now by adding a div above the table with the additional information and a custom button, but it would be better if I could contain that collapsible portion as part of the DataTable itself and more specifically if I could insert it exactly where I want by just using the dom option, such as:

dom: 'lBHtip'

where H is the Help div.

Anyway -- just a suggestion!

Thanks for the exceptional support!

Replies

  • kthorngrenkthorngren Posts: 20,257Questions: 26Answers: 4,761
    edited November 2020

    You can add custom elements to using the dom option like this Custom Toolbar example shows. Is this what you are looking for?

    Kevin

  • Loren MaxwellLoren Maxwell Posts: 387Questions: 94Answers: 10

    Thanks, @kthorngren, I hadn't seen that before.

    It seems that do would exactly what I'm looking for.

    However I still think a standard "Info" or "Help" button would be nice to have!

This discussion has been closed.