I'm currently working on a project that utilizes Yajra Laravel-datatables for managing data tables.
Incorporated Yajra package installed through composer.json
The issue I'm encountering involves text wrapping, as shown in the screenshot below, where exceeding the character limit causes problems with the column width.
Incorrect wrapping of the address column
The goal is to have the message column occupy 30% of the total table width, the address should utilize 10%, and all columns should be properly wrapped.
Below is the snippet from my index.blade.php file:
Additionally, here is the code passed from the function controller:
Function controller for returning the datatable
This Laravel project utilizes Bootstrap, CSS, and JS. I attempted to address the issue by adjusting the targets in the 'JavaScript part' to 7. However, an error occurred due to mismatched column numbers in the HTML. I temporarily resolved this by passing a dummy value from the controller, but I'm seeking a more optimal solution. Please advise on the correct approach to resolve this issue.
I'm unable to host the code due to the numerous libraries, plugins, and extensions used in this system. Can you suggest where to host code similar to this setup? For the HTML, CSS, and JS, refer to the snippet below:
Link to the plugin used: https://drive.google.com/drive/folders/1ctBNsaSu8dWCvYL1tAPI_IQPwgwHzqDR
// Insert your JavaScript code here
// Insert your CSS code here
// Insert your HTML code here
// Insert your PHP code here