October 23, 2020, 09:09:02 AM

See more Support incidents in our old archived forum.

Author Topic: Filter rows (items) in FlexyTable with databinding  (Read 2721 times)

ricky.blankenaufulland

  • Customers
  • Newbie
  • *
  • Posts: 18
Filter rows (items) in FlexyTable with databinding
« on: August 11, 2014, 07:44:16 AM »
Hello,

the example 'FilteringAndSortingFlexyGantt' shows filtering by always creating a filtered copy of the original data list.

Is it possible not possible to change the visiblity of a row with binding on a property?

Best regards,
Ricky

ForumAdmin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 89
Re: Filter rows (items) in FlexyTable with databinding
« Reply #1 on: August 11, 2014, 04:08:47 PM »
Ricky,

Our current grid-chart synchronization logic heavily relies on all rows having a valid height, so hiding certain rows is not currently possible.

Thanks
Support

ricky.blankenaufulland

  • Customers
  • Newbie
  • *
  • Posts: 18
Re: Filter rows (items) in FlexyTable with databinding
« Reply #2 on: August 21, 2014, 02:48:38 PM »
Okay,
This means I have two possibilities: Remove the record from the collection representing the row or use the rowheightbinding with a converter which supplies a high of 0px when the row should not be showed. Right?

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 149
Re: Filter rows (items) in FlexyTable with databinding
« Reply #3 on: August 22, 2014, 02:40:02 PM »
Ricky,

Yes, you are correct, we failed to mention your 2nd option in our previous update. To summarize you can do one of these 2:

- Remove the data from the underlying collection
- Or use RowHeightBinding to set a row's height to 0.

Regards,
-Raja.