RadiantQ Forum

Product => WPF Gantt Package => Topic started by: ricky.blankenaufulland on August 11, 2014, 07:44:16 AM

Title: Filter rows (items) in FlexyTable with databinding
Post by: ricky.blankenaufulland 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
Title: Re: Filter rows (items) in FlexyTable with databinding
Post by: ForumAdmin 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
Title: Re: Filter rows (items) in FlexyTable with databinding
Post by: ricky.blankenaufulland 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?
Title: Re: Filter rows (items) in FlexyTable with databinding
Post by: Rajagopal 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.