lorenzofox3 / Smart-Table

Code source of Smart Table module: a table/grid for Angularjs
http://lorenzofox3.github.io/smart-table-website/
1.8k stars 513 forks source link

Paginated data updates #834

Open bgadiel opened 6 years ago

bgadiel commented 6 years ago

Hi, I have multiple pages collection, where each row has its own checkbox. I have a one restriction - only single row from the collection can have an active checkbox. So when a user clicks on a checkbox, I have to iterate on all other elements and uncheck them.

<table st-table="List"
           st-safe-src="ListCopy"
           class="table table-striped">

The problem: when I am on Page #1, and I am iterating over 'ListCopy' collection, and then I go to Page #2, I cant see the checkbox being unchecked.

Any ideas?

Thanks.

MrWook commented 6 years ago

So many questions and all of them can be answered if you just provide a working example of your problem with plnkr or another site for this kind of stuff.....