I was reading this Post, and i came with the same situation in my project, there is a way, the list of Actions be upper layer or outside the table? also i was able to use the "
Template" on columns. at the moment its showing inside the table or columns content.
Thanks in advance,
Hi Juan Maldonado,
Greetings from Syncfusion support,
Based on your query regarding the column template with dropdown, it seems that the dropdown list is showing inside the grid, but you need it to display on the upper layer or outside the table. We have reviewed your requirement regarding rendering the dropdown using a column template. By default, the popup opens outside the grid. Please refer to the screenshot and sample below for further reference:
|
|
Sample; https://stackblitz.com/edit/ps8shw-jmm633?file=index.js,index.html
If we misunderstood anything wrongly, please share the below details that would be helpful for us to provide better solution.
Regards,
Vikram S
Thanks, question this work with this type of code?
@Html.EJS().Grid("FilterMenu").DataSource((IEnumerable<object>)Model.Customers).ContextMenuItems(new List<object>() { "AutoFit", "AutoFitAll" }).AllowResizing(true).RowSelected("rowSelectedSf").AllowSelection().Columns(col =>
{
col.HeaderText("Action").Width("23").Template("#ActionsTemplate").Add();
}).AllowPaging(true).AllowSelection(true).AllowSorting(true).AllowFiltering(true).FilterSettings(filter => { filter.Type(Syncfusion.EJ2.Grids.FilterType.Menu); }).PageSettings(page => page.PageSize(250)).AutoFit(false).Render()
Hi Juan Maldonado,
We have developed a sample based on the provided code example and successfully implemented a Syncfusion dropdown button to meet your needs. Please review the attached sample and screenshot demonstrating the proper rendering of the dropdown without any display issue. Therefore, we suggest using the Syncfusion dropdown button for your project to resolve the problems you are experiencing with the HTML dropdown button. If you encounter any difficulties, please do not hesitate to contact us for assistance.
For further information, please consult the documentation link below:
Documentation Link: Drop-down-button
Regards
Aishwarya R