We implemented a sample for the solution suggested in post 10, and we found a few issues with this approach.
SmartClient Version: v10.0p_2015-01-20/LGPL Development Only (built 2015-01-20)
Running from Eclipse in SuperDev mode:
1. When we update a sort field, the whole sort is broken after the grid redraws
Repro steps:
-Launch ModifyResultSetOnGridSample.java
-Note the grid is sorted correcly on the Sort field
-Select a grid item
-Click 'Update sort field' button at the bottom
-Note the grid is no longer sorted after redraw
2. The whole grid redraws, which is something we're trying to avoid for user experience reasons (discussed in post #9)
Repro steps:
-Launch ModifyResultSetOnGridSample.java
-Select any grid item
-Click either 'Update content field', 'Update sort field', 'Update status field'
-Note the browser content flashes for a redraw
3. The filter criteria is not being applied. Our sample updates the Content field so it does not meet the
filter critera, yet it remains visible in the grid (The filter criteria is not contains " - update")
Repro steps:
-Launch ModifyResultSetOnGridSample.java
-Select any grid item
-Note the Content field text
-Click 'Update content field'
-Note that Content field text now has " - update" text appended
-The filter criteria should remove items with " - update" in the Content field
Are we missing something in the code that could resolve these issues?
SmartClient Version: v10.0p_2015-01-20/LGPL Development Only (built 2015-01-20)
Running from Eclipse in SuperDev mode:
1. When we update a sort field, the whole sort is broken after the grid redraws
Repro steps:
-Launch ModifyResultSetOnGridSample.java
-Note the grid is sorted correcly on the Sort field
-Select a grid item
-Click 'Update sort field' button at the bottom
-Note the grid is no longer sorted after redraw
2. The whole grid redraws, which is something we're trying to avoid for user experience reasons (discussed in post #9)
Repro steps:
-Launch ModifyResultSetOnGridSample.java
-Select any grid item
-Click either 'Update content field', 'Update sort field', 'Update status field'
-Note the browser content flashes for a redraw
3. The filter criteria is not being applied. Our sample updates the Content field so it does not meet the
filter critera, yet it remains visible in the grid (The filter criteria is not contains " - update")
Repro steps:
-Launch ModifyResultSetOnGridSample.java
-Select any grid item
-Note the Content field text
-Click 'Update content field'
-Note that Content field text now has " - update" text appended
-The filter criteria should remove items with " - update" in the Content field
Are we missing something in the code that could resolve these issues?
Comment