So in Classic I can easily make a filtered view of an existing data view as follows
var edvUD103A= oTrans.Factory("UD103A"); //Get a hold of the existing view
edvVendorInfo = new EpiDataView(); //Create a new View
edvVendorInfo.dataView = new DataView( edvUD103A.dataView.Table, "ChildKey1 = 'VendorInfo'", string.Empty, DataViewRowState.CurrentRows); //Derive the new view as a filtered view of the same data table
The above is great because it stays in sync, if I add new rows to either of the views it updates everything and keeps everything in sync automatically.
Iâm trying to do the same in Kinetic I can easily create a new view and set a static filter on it, but I canât find a way to have it pull automatically from the same dataset as the original view, further more if I do use an event to populate my custom view, any time the original view changes it doesnât update my new view.
How will you be displaying the info? If itâs in a grid, you can add a panel grid to your editor, bind it to the original view, then set a row filter on it from there.
There is no Row Filter property on the Panel Grid Card⌠thereâs a Client Filter⌠but syntax is ⌠(unsure) tried Field=âxxâ {Field}=âxxâ {View.Field}=ââ with no luck so far
Thereâs not a spot for it in the grid model? I swear it was there.
You could also try the Rest param and add a where clause.
Shooting at the hip right now as I donât have access to a Kinetic environment to validate.