Re-initialize DataTableAjaxPostModel
Re-initialize DataTableAjaxPostModel
![bogomal](https://secure.gravatar.com/avatar/f44425de016b2b2cc86e98cabe619cbd/?default=https%3A%2F%2Fvanillicon.com%2Ff44425de016b2b2cc86e98cabe619cbd_200.png&rating=g&size=120)
On re-loading a view - one would expect that the DataTableAjaxPostModel values will be re-initialized - but they are not. It retains the old values and irritatingly the public List<Order> order values are retained from the earlier view I played with and columns ordering i did there. Is there a way to clear this?
This discussion has been closed.
Answers
I think this would be a question to ask of the developer of the DataTables.Queryable library which has the
DataTablesAjaxPostModel.cs
code.Kevin