Dropdown not working inside jquery datatable mobile view
Dropdown not working inside jquery datatable mobile view
rizwanali98601
Posts: 2Questions: 1Answers: 0
Check this fiddle : https://jsfiddle.net/rizwanali98601/ngofhc24/12/
There is jquery datatable.
In table , there is dropdown inside jquery datatable.
On button click, I add option in dropdown. But in mobile view option not added to dropdown.
This discussion has been closed.
Answers
Hi @rizwanali98601 ,
One problem is that you have two elements with the same ID, which is a big no-no. If you use a class, like here, you'll see it being added.
Cheers,
Colin
Second dropdown created automatically with same id in responsive mode.
How to restrict addition of new dropdown ?
You can create your own
responsive.details.renderer
as in this example here.