Master Detail List View, with 2 Views on one form


Badge +7

We have 2 differnt List Views (Master and Detail) on one Form

 

In Normal K2 Forms i can generate Details List View data through parameters specified

but in this case,

 

Detail List is showing data based on primary key from Master Listview (User click)

 

I am not able to find the rule that can help my case

 

example of master detail list view from google

12075i39C3B8DAA8BCE00C.jpg


2 replies

Userlevel 3
Badge +8

Dear ,

 

If i understood u right , u have master list view and detailed list view ,

when u click on a master item , u need to generate the data related into the detailed view Using the Primary key of the master detail ,

oh well , u could do it by doin following steps :

 

1- u need to add these rules in the form level , not view level ,

when a view executes a method ( When master view executes list item click )

Execute  a view method ( Execute get list method on detailed list view ) Configure its get list method and add a filter where ur Foriegn key in detailed list Equals the ID SMO Property from Master list view ,

 

12999i44A4D200641385B0.png

 

Hope it helps!

Regards.

Badge +7

yes this is what exactly i was trying to find since last few days, thanks a ton :)

Reply