+ Start a Discussion
Alexander YhapAlexander Yhap 

Datatable, Select, Checkboxes, Apex...Assign checkbox value to controller & summing selected?

There are a few things that I need help with & I've looked everywhere...

I am building a Datatable with the Select extension inside a Salesforce Visualforce page. 

I would like to figure out how I can set the associated record inside the Salesforce controller to true when I select it on the Datatable.

I would also like to sum the selected rows and add the value to a cell in the footer.

You can find my code for the page and controller here...

https://jsfiddle.net/a13xy/ho7n121x/1/

Thanks in-advance for any help/insight

 
Best Answer chosen by Alexander Yhap
Alexander YhapAlexander Yhap
FYI - https://datatables.net/extensions/select/