Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Prefilter a grid before it's presented to the user.

$
0
0
I have a table on an SQL database that I map using a datasource and present to the user with a grid. However, I would like to present to the users only those entries that:

1. Have a certain flag marked as true (implemented as a boolean column in the database)
2. From similar entries, only the one with the highst revision is displayed, i.e., for entries with the same ID, only the one with the highest revision (ID and revision are implemented as Long in the database) are displayed.

Any filtering performed by the user shall be done against the subset of entries presented to the user, i.e., both 1. and 2. above apply also to the filtering done by the user.

This shall be transparent to the user, so if any filtering is needed, it should be on the server side.

What is the best implementation for this problem? Any hints or links to examples are appreciated.

Thanks in advance,

---------------------------------------------
SmartClient Version: v9.1p_2014-09-03
-------------------------------------------

Viewing all articles
Browse latest Browse all 4756

Trending Articles