State save in the datatable does not save the values of columns which has input text

State save in the datatable does not save the values of columns which has input text

puneet.jayeepuneet.jayee Posts: 18Questions: 8Answers: 0

Hi,

I have datatable with a column which takes input values from user and I have enabled the state save option.
When I refresh the page the sorting of the columns remains intact but the values of the input text box disappears.

Do we have working example to show that it is possible to save the input text values using the State Save option.

Thanks!
Puneet

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @puneet.jayee ,

    The input elements aren't part of the known elements of the DataTable, so you have to explicitly tell stateSave about them. This example from this thread should get you going - here it's adding selected rows to the saved information.

    Cheers,

    Colin

This discussion has been closed.