Just a quick question

15 views
Skip to first unread message

Alejandro AG

unread,
Feb 5, 2026, 9:18:34 AM (13 days ago) Feb 5
to Rosi Delphi Components
In the filter grid (under column name) by default, the filter is case sensitive, how to make INSENSITIVE (ANSI conversion or ascii at least)

Tks, guy

Tomas Rosinsky

unread,
Feb 5, 2026, 11:40:17 AM (13 days ago) Feb 5
to Rosi Delphi Components
Hi,
filtering is done by Dataset itself, rDBGrid just set the filter condition.

You can set case sensitivity by OptionsEx2.Filter.FilterCaseSensitivity property. 

    { define filter options used for grid filtering }
    property FilterCaseSensitivity: TOptionFilterCaseSensitivityType read FFilterCaseSensitivity write FFilterCaseSensitivity default fcsDoNotChange;
  { filter case options for TrDBGrid }
  TOptionFilterCaseSensitivityType = (fcsDoNotChange, fcsCaseInsensitive, fcsCaseSensitive);

By default it is  fcsDoNotChange and it means the current dataset setting is used. You can change it to  fcsCaseInsensitive.
Anyway it depends on used dataset type if it is supported by dataset or not.

I hope it helps.
Tomas

Dne čtvrtek 5. února 2026 v 15:18:34 UTC+1 uživatel aag.co...@gmail.com napsal:

Alejandro AG

unread,
Feb 6, 2026, 5:07:05 AM (12 days ago) Feb 6
to Rosi Delphi Components
Like a charm! 
Tks
Reply all
Reply to author
Forward
0 new messages