C1TrueDBGird: change the FilterDefinition via VB-Code

Posted by: s.wortmann on 12 May 2022, 5:06 pm EST

  • Posted 12 May 2022, 5:06 pm EST

    Hello together.

    I would like to know how to edit the FilterDefinition of the C1TrueDBGrid via VB code.

    Columns A, C,D and F are filtered.

    C1TrueDBGrid.Splits(0).FilterDefinition can be retrieved and should now be changed via VB code:
    The filter for column D should be removed and an additional filter should be added for column H. So that as a result column A,C,F and H are filtered.

    I hope I have not described too complicated and someone can give me tips.

    Thank you very much.
  • Marked as Answer

    Replied 15 May 2022, 7:55 pm EST

    Hi together,

    No more help is needed as I figured it out myself.
    I solved it with the XML functions from the Net framework.

    Best regards
  • Replied 15 May 2022, 10:45 pm EST

    Hi Stephan,

    Good to hear that your requirement is fulfilled. Please let us know if you face any other issues or if you need any other information.

    Kind Regards,
Need extra support?

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

Learn More

Forum Channels