I am trying to get the all the DepotNo from the rows having the checkbox selected in the datatable into the function LockDepot(), When I click the button submitButton , the Selected Depot no should be shown into a variable in to the function LockDepot()
, Please help
According to your description, I suggest you could checkboxs binds the click event and assigns the retrieved value to the global variable select value.Finally alert it in the function lockDepot().
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
410 Points
1326 Posts
how can I get the selected row [Checkbox ticked rows] from the js datatable, Please help
Nov 15, 2019 09:56 AM|polachan|LINK
Hi
I am trying to get the all the DepotNo from the rows having the checkbox selected in the datatable into the function LockDepot(), When I click the button submitButton , the Selected Depot no should be shown into a variable in to the function LockDepot() , Please help
Please help
Contributor
3720 Points
1406 Posts
Re: how can I get the selected row [Checkbox ticked rows] from the js datatable, Please help
Nov 18, 2019 08:06 AM|yij sun|LINK
Hi polachan,
According to your description, I suggest you could checkboxs binds the click event and assigns the retrieved value to the global variable select value.Finally alert it in the function lockDepot().
More details, you could refer to below codes:
Result:
Best Regards,
Yijing Sun