Categories | Question details Back To List | ||
Error in Header Filters and DataProcessor I have a very Bad bug in the PRO Grid 2.0... I have a grid with 35 columns and I use the header filters with the dataprocessor. The Bug is as follows If a user filters the data from a header column then updates a row the data is sent to the server saved in the database and the row goes from bold to normal and show as you would expect. The data in the database is also correct just as one would expect however... If the user then changes the filter and refilters to get the data again the changes are not reflected to the user. If the data is pulled from the database again it is reflected. SO... It appears that the filters are applied to the orginal dataset each time and changes are lost to the user as they refilter... My application requires users to constantly change the filters and update the data. I need the users to be able to see the changes as they alter they data and filters. How do I solve this. Answer posted by Support on Mar 12, 2009 09:42 >>It appears that the filters are applied to the orginal dataset each time This is expected behavior. When filtering started , grid lock original state, and revert to it when filter cleared. As result any changes applied to dataset ( adding | deleting rows ), while grid was in filtered state, will not be visible after re-filtering. While behavior can't be changed, there is workaround - grid can be unfiltered, row added and grid re-filtered again ( all this can be done by API calls ) , in such case row will be added in unfiltered state, so it will be correctly added. http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3752&ssr=yes&s=delete%20filter |