how to refresh grid content with field reference in detail t

Dear Support Team



If i have master-detail table form. Detail is using dhtmlx grid and dhtmlxconnector.

Detail have foreign-key to the master table.

How i refresh content of detail table without refresh page when the master table move to next record?







Best Regards,

Dikky

You can catch “onRowSelect” event form the master table and then refresh datail table:
master_table.attachEvent(“onRowSelect”,function(rowId,cellIndex){
detail_table.clearAll();//clear all rows in datail table
detail_table.load(“grid.php?table=”+rowId);//load new records in detail table
})

Dear Support Team

thank you very much … very2 helpful

best regards,
Dikky