Thanks.
We will updating the plugin to edit the column width manually from the administration.
To change the column width as the plugin is now:
– In the table administration seeks the parameter “Texts” found at the end of the options on the table.
– The parameter is for setting texts and language texts but you can add code to change the column width. The form looks like this:
Parameter texts:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
"oLanguage": {
"sLengthMenu": "_MENU_ Display records per page"
"sZeroRecords": "Nothing found - sorry"
"sInfo": "Showing _START_ to _END_ of _TOTAL_ records"
"sInfoEmpty": "Showing 0 to 0 of 0 records"
"sInfoFiltered": "(filtered from Total _MAX_ records)"
}
Parameters texts with column 1 and 2 changed the width:
"oLanguage": {
"sLengthMenu": "_MENU_ Display records per page"
"sZeroRecords": "Nothing found - sorry"
"sInfo": "Showing _START_ to _END_ of _TOTAL_ records"
"sInfoEmpty": "Showing 0 to 0 of 0 records"
"sInfoFiltered": "(filtered from Total _MAX_ records)"
},
"aoColumnDefs": [
?????? {"SWidth": "10%", "aTargets": [0]},
{"SWidth": "10%", "aTargets": [1]}
???? ]
You can see that by adding the code:
"aoColumnDefs": [
?????? {"SWidth": "10%", "aTargets": [0]},
{"SWidth": "10%", "aTargets": [1]}
???? ]
change column 0 and 1 to a width of 10%.