Hello ASP.NET Zero Support Team,
We are in the process of migrating our project from version 10.5 to 13.4 (MVC) and are encountering UI issues on index pages.
The main problem appears with DataTables — the table headers are broken and misaligned, and when there are multiple columns, the headers overflow outside the table area. We tried regenerating the pages using the Power Tools, but the issue still persists.
Below is the code snippet we are using to render the table:
<table id="ShipmentsTable" class="table align-middle table-row-dashed fs-6 gy-5 dataTable dtr-inline no-footer" width="100%">
We’ve attached screenshots below to demonstrate the issue:
- Old version (v10.5): Headers and layout perfectly aligned
Additionally, we would like to know how to properly align the sorting arrows with the column text in the latest version.
Could you please assist us in fixing this layout issue or share the recommended approach for DataTables styling in v13.4?
Thank you for your support and guidance.
Best regards,
3 Answer(s)
-
0
Hi @mnihal
Make sure that the DataTables script and style files are correctly included in the
bundles.jsonfile (13.4 Bundles.json). Then, run the bundle and minify command. Also, ensure that these files are installed in the project as npm packages. In addition, verify that themetronic/assets/plugins/custom/datatables/datatables.bundle.cssfile provided by Metronic is present in your project.Generate Bundle Command
npm run create-bundlesoryarn create-bundlesIf these are added correctly, sending your project to [email protected] will help us give you a more specific answer.
Thank you.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
I have added my bundles.Json class below for you to check and also verified that the datatables.bundle.css file is present in the respective folder. also tried bundle command and still same issue persist
Should I send you the Base version of our 13.4 version. How can I send the project securely.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @mnihal
You can send your project to [email protected] via e-mail. This way, we can examine your issue in more detail.
Thank you.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)


