C1TrueDBGrid Retrieve underlying filter text

Posted by: SHanau on 15 February 2020, 4:49 am EST

    • Post Options:
    • Link

    Posted 15 February 2020, 4:49 am EST

    Hi there,

    I’m trying to retrieve the underlying filter text of an automatically filter grid with AllowFilter = true. I want to store it in my app’s configuration so that it can be used again when using the same grid the next time.

    So could you please provide a sample of how to retrieve and re-apply the filter text of an automatically filtered grid? Thanks in advance.

  • Posted 17 February 2020, 2:49 am EST

    Hi Stephen,

    You can use the FilterDefinition property to achieve this use-case.

    I have attached a sample implementing the same, please have a look and let us know if you found this useful.

    Regards,

    Prabhat Sharma.

    TDBFiltersDemo.zip

  • Posted 23 February 2020, 10:42 am EST

    Thanks very much, Prabhat.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels