Skip to content

Conversation

@plavoie-BC
Copy link
Contributor

@plavoie-BC plavoie-BC commented Nov 27, 2025

Created bugfixes to fix custom DataGrid layout and action buttons after DataTables.net v2 upgrade.

  • bugfix/AB#30978 - [UI] Worksheet data grid is missing header layout
  • bugfix/AB#30979 - [UI] Worksheet data grid is missing all the action buttons

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements bugfixes for the custom DataGrid layout and action buttons, addressing issues AB#30978 and AB#30979. The changes modernize the DataGrid implementation to use DataTables 2.x layout configuration and API patterns.

Key changes:

  • Migrated from legacy dom configuration to DataTables 2.x layout object for better control over component positioning
  • Replaced custom search event binding with the externalSearch() API for cleaner integration
  • Fixed HTML/CSS issues including a malformed class attribute and improved table styling

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
Default.cshtml Fixed malformed class attribute (removed extra closing parenthesis) and added missing "table dataTable" classes
table-utils.js Removed impractical page length option (1 record) from menu
layout.css Added CSS rule to remove right border on last table header column for cleaner appearance
Default.js Refactored to use DataTables 2.x layout API, added ColumnVisibility button, implemented externalSearch API, and simplified button configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@plavoie-BC plavoie-BC marked this pull request as ready for review November 27, 2025 22:02
@JamesPasta JamesPasta merged commit 75e1108 into dev Nov 27, 2025
5 checks passed
@plavoie-BC plavoie-BC deleted the bugfix/AB#30978-worksheet-data-grid branch November 28, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants