3.2.0

master-detail

I need the info urgently: How can I prepare a master-detail connection with two grids. I need then refreshing, so one record selected in master table the proper details have to appear in the other grid.
Morower I want to remember the sort conditions as well.
McKay
July 19,
Newer mind. I've managed it.
If anyone do wish to see: makkai.balazs@mail.giro.hu
McKay
July 21,
Sure! Could you post it?
November 27,
Sorry, but I deleted the project!
As far as I remember :
- there are two grids (master, detail)
- master grid has an own onClick() finction
master_grid.setAction('click', function(src){
try{
myOnClick();
}catch(error){}
});
- myOnClick() function changes the content of detail grid depending on the walue of the master key column
(change only the detaik data array or the whole frame from server)
master_key = masterGrid.getProperty('data/text', masterGreid.getSelectionProperty('index'),0);

or whatever




McKay
November 28,

This topic is archived.

See also:


Back to support forum