I am initializing a grid with localData and fitlerType: excel
$("#clients").ejGrid({
dataSource: localData,
allowPaging: true,
allowSorting: true,
allowFiltering: true,
pageSettings: { pageSize: 25 },
filterSettings: { filterType: "excel" },
scrollSettings: { height: 550 },
allowScrolling:true,
columns: [
{ field: "CL_ID", headerText: "ID", width: 20 },
{ field: "CL_NAME", headerText: "Name", width: 80 },
{ field: "MediaShop.MS_NAME", headerText: "Media Shop", width: 75},
{ field: "Company.ET_NAME", headerText: "Company", width: 75 },
{ field: "CL_ACTIVE_YEARS", headerText: "Active Years", width: 80},
{ field: "CL_ADDR", headerText: "Address", width: 110}
]
});
When i click on the last column on the filter icon the dialog that opens is not displayed correctly (Attached screenshot)
The div $("#clients") has 100% width inside a bootstrap .row (under a .col-md-12). That .row has overflow-x:hidden, thus
if the dialog is displayed out of the actual #clients div it doesnt get displayed.
Is there a way to control the position of the grid?
My solution at the moment is adding a css class to the grid when the last column is clicked. And overriding the absolute positioned dialog left and right position, to force it display inside the grid.
Thank you,
Alex
Attachment:
edialog_6daf771e.zip