Duplicated datagrid on same page with alternate filter

hi guys, might have found an interesting situation with datagrids on the same screen at the same time

i have a scenario where i have two datagrids talking to the same datasource.
the difference in the data is a field which has an integrer in it for a "Type" i.e. Type A = 1 and Type B = 2

i have been able to set up one datagrid on the page with a filter for Type = 1
this is working as expected

when i clone the datagrid and then alter the filter for grid 2 for Type = 2

the data in DG 1 initially filters for Type 1, however when the data for DG2 loads, the data in DG1 is overwritten with the values based on the DG2 filter

this is probably due to the underlying sharing of the same data object, but i would have thought that should be okay providing the different filters.

so question is.... can i set a screen with two datagrids querying the same datasource with different filters on the same screen ?

hi guys, i figured this out, you change the set property of the load event (i.e. you give it a different name) and then you use this updated name in the 'Data' property of the datagrid

this allows you to have two datagrids from the same table with different filters on the same page