Friday, May 24, 2019

Tip of the Day: New Enhanced DB Grid Filter Properties
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.1.30523 or higher
Sections......: Forms
Keywords......: PROPERTY, GETPROPERTY, Enhanced DB Grid, Filter

Did you know several new properties were introduced to better manage filters within
Enhanced DB Grid controls?

The first is HASFILTER as a GETPROPERTY parameter for Enhanced DB Grids to return
TRUE or FALSE for whether the grid has a filter applied.

GETPROPERTY InvGrid1 HASFILTER vHasFilter

Allied with the above is the PROPERTY parameter CLEARFILTER, to clear a filter
applied to an Enhanced DB Grid.

PROPERTY InvGrid1 CLEARFILTER 'TRUE'

Also, the GETPROPERTY command parameter FILTEREDROWCOUNT has been added to return
the number of rows contained when an Enhanced DB Grid is filtered.

GETPROPERTY InvGrid1 FILTEREDROWCOUNT vFilterRows

The FILTEREDROWCOUNT parameter is different from the existing VISIBLEROWCOUNT
variation, which specifically returns the "visible" row count displayed within the
grid control.

GETPROPERTY InvGrid1 VISIBLEROWCOUNT vDispRowCnt

With the above, the ability to program control over filters for Enhanced DB Grids
is stronger than ever!

Very Best R:egards,

Razzak.

https://www.rbase.com
http://www.facebook.com/rbase/


--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/201905241349.x4ODnfQL023002%40atl4mhob11.registeredsite.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to