Datatable button extension

Datatable button extension

ghendricghendric Posts: 13Questions: 5Answers: 0

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

  • kthorngrenkthorngren Posts: 21,262Questions: 26Answers: 4,934

    but can I specify a select or dropdown that shows a list of values instead of a custom button?

    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

  • ghendricghendric Posts: 13Questions: 5Answers: 0

    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.

  • kthorngrenkthorngren Posts: 21,262Questions: 26Answers: 4,934

    See if this example for custom toolbar elements helps.

    Kevin

Sign In or Register to comment.