Hi Duncan,
We could see that you are using detailsTemplate feature of Grid from the Forum 124416 and you are facing this problem with the detailsTemplate. While using the detailsTemplate, you need to generate a unique ID for each details Grid which will avoid the opening of filter dialog for different details Grid. Refer to the following code example and sample,
<div id="Grid"></div> <script id="tabGridContents" type="text/x-jsrender"> <div id="detailGrid{{:EmployeeID}}"> </div> </script> <script type="text/javascript"> $(function () { $("#Grid").ejGrid({ dataSource: ej.DataManager(window.employeeView), detailsTemplate: "#tabGridContents", detailsDataBound: "detailGridData", . . .. }); }); function detailGridData(e) { var filteredData = e.data["EmployeeID"]; var data = ej.DataManager(window.ordersView).executeLocal(ej.Query().where("EmployeeID", "equal", parseInt(filteredData), true)); e.detailsElement.find("#detailGrid" + filteredData).ejGrid({ dataSource: data, allowFiltering: true, filterSettings: { filterType: "excel" }, . . . . }); } </script> |
If we misunderstood your query, please get back to us with the following information to analyze the issue.
1) Code example of both the Grids
2) Are you using two separate Grids? Or placed the GridA within the GridB?
Regards,
Seeni Sakthi Kumar S.