Our aspx page contains an array of data that contains the necessary fields to define a ParamQuery grid event data. We create a GridRenderer object that contains stores this data and initializes the ParamQuery grid. It also is used to extract all of the data out of the grid after the grid has been edited. Extracting the data is basically just returning the "data" array that is used when initializing the ParamQuer grid. My experience was that this array is kept up to date with all changes during editing.
This has all worked fine until we decided we want to be able to allow some filtering on the grid as well. We are not using header filtering but instead have a link on our page that triggers a filter event. We only filter on a single column (isDeleted) and it is a boolean state (true/false). The goal is to allow users to toggle between showing only their active events and showing all of their events including deleted events.
The filtering actually works fine, the problem is that when we add a new row to the grid using addRow the row gets added in the grid properly, but when we call the extract function on our GridRenderer the new row data is not there. Without filtering this all worked fine.
I am sure I am missing something relevant regarding how to pull ALL the data (including added rows) when filtering is active. I also tried using grid.getChanges to see if I could get the added rows, but that method returned no changes.
I am attaching a text file with javascript code that displays all the relevant parts. You can see in the colModel of the grid that we set a filter on the isDeleted column without setting on to true. Addign a row in this condition works fine, it is only when you set the filter to on = true that adding the row no longer adds teh row to the data array in the dataModel.
Thank you for your help....