bStateSave with single table and multiple datasources
bStateSave with single table and multiple datasources
I have a setup where I'm using the same css and table for different data that might populate it. basically offer a link to switch between datasources and the page is reloaded with the new data but same exact table. I am trying to make it so someone could click on a line item, go into a new page with more detail and then they return to the page end up where they left off.
Using bStateSave I get what I want when you click on a line item and go back. You end up where you left off. But when you click on a different datasource, you end up in the same position in the table as the previous datasource.
I can easily provide a way to make the cookie unique for this table, but I don't see a way to handle that. I'm trying to avoid a lot of extra css because to some degree, the datasources are dynamic and cannot be predicted what someone will have.
Using bStateSave I get what I want when you click on a line item and go back. You end up where you left off. But when you click on a different datasource, you end up in the same position in the table as the previous datasource.
I can easily provide a way to make the cookie unique for this table, but I don't see a way to handle that. I'm trying to avoid a lot of extra css because to some degree, the datasources are dynamic and cannot be predicted what someone will have.
This discussion has been closed.
Replies
Hope this helps someone else.