Datatable button extension
Datatable button extension
ghendric
Posts: 13Questions: 5Answers: 0
in DataTables
This is just a question.
I get how the buttons functionality works with buttons, but can I specify a select or dropdown that shows a list of values instead of a custom button? And can i do that with a custom jQuery plugin? Are there any examples?
Answers
What do you want to do with the select list?
Where do you want to place it?
Please provide more details of what you are trying to do.
Kevin
I'd like to add the dropdown to the button row and then based on what the user selects, it does an ajax call to retrieve some data, etc. I've got the ajax call down ok. I thought I could put a dropdown in the button row. What I did do was create a div and place my dropdown in there and just positioned it on the screen to look like it was part of the grid. I'd rather do it more cleanly than that but if I can't throw one into the button row, i'll just do this instead.
See if this example for custom toolbar elements helps.
Kevin