mutouaa
Joined: 07 Nov 2007 Posts: 24
|
Posted: Tue Apr 27, 2010 9:08 am Post subject: Apply Filter in DataTable |
|
|
Hi Infralution Group,
I have a small problem in applying filter when use a DataSet as tree datasource.
let's see the example, I have a DataSet with two tables A and B, Relation relation_A_B(A as parent of B). In the tree I have two Levels, Level 1 displays Table A, level 2 displays Table B.
here I would like to apply a filter in a column Active of B. after I set B.DefautlView.RowFilter = "Active = 'True'", it doesn't work. but in Table A it works.
Could you please give some suggestion on this topic?
BTW, for now I use method ReloadChildren to filter Table B, but this has some disadvantage when Table B changes.
thank you in advance. |
|