New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align headers on the right and sorting #801
Comments
Thanks, |
Hello, To be a honest currently I haven't find any resolution of the problem. Try with different margins and paddings, but without success. Maybe in this case the icons can be placed at left of the text, which means another option. We will see if this can be done without big problems. Kind Regards, |
Hello, |
Hello, I have added a method setSortIcon 50f3452 , which changes the position of the sort icon. Please let me know if it is working as expected. Kind Regards, |
Hello, |
Thank you for recommendation. I do not have tested it with wrapped text. Will do the needed. As per misalignment of the arrow - which CSS system is used - jQuery UI or Bootstrap? It will be very good if you can prepare a simple test case for the misalignment. Do you have performed any changes in the CSS? |
I am using jQuery UI. |
Hello, I have simplified the code. : d19d1b9 The problem is the the element where the icons reside - they are inside the text, Kind Regards |
Hello, Please reopen if this is not fixed for you |
Hello,
I am using the method setLabel (jqGrid JavaScript) to align the header of a column to the right i.e:
$("#myGrid").jqGrid('setLabel', 'name', '', {'text-align':'right'});
I have also set this column to be sortable (
sortable:true
)The problem is that sorting arrows are still on the right side of the column header and as result are going out of the grid and are not appear to the grid.
Any solution?
Thanks
The text was updated successfully, but these errors were encountered: