Discard saved state once the user navigate away from that page

Discard saved state once the user navigate away from that page

mohsinrafiquemohsinrafique Posts: 1Questions: 0Answers: 0
edited June 2011 in DataTables 1.8
Hi all,
I am using jQuery Datatable in my application and i am having state retain problem.

My scenario is when a user browse a page (Customer List), It has option against each rocrd to edit the customer. I am using shadowbox for that. When admin edit the customer page on page 3 it retains the state of page 3 as i am using bStateSave=true.

I am not using any server side for fetching the record. Just fetching the record on page load the displaying it on the page using datatable. Now my point is when admin navigate away from customer page and move to some other page say product page and come back to customer page it keep the bStateSave=true. Now what i want when it navigate from that page then the bStateSave becomes false and when admin come back again on that page again it shows page 1 not the page 3.

Can somebody guide me how can i remove cookie or bStateSave= false when a user navigate from the page.

Kindly help me out to sort out that problem. I will be very thankful to you.


kind regards,
Mohsin Rafique
This discussion has been closed.