You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using jqxgrid with rtl=true together with closeablegroups=true and columngrouprenderer, it does not result in a custom text.
It does works with rtl=false.
Reason:
In file 'jqwidgets/modules/jqxgrid.js' in function '_rendergroupcolumn' the correct value is set by this code
if (this.groupcolumnrenderer != null) {
group[0].innerHTML = this.groupcolumnrenderer(text);
...
}
But later overriden by this code which ignores the content of group[0].innerHTML (the result of groupcolumnrenderer) and uses the initial value 'text' instead.
if (this.rtl) {
group[0].innerHTML = '<a style="float: right;" href="#">' + text + '</a>';
}
To Reproduce
Steps to reproduce the behavior:
set rtl to true
set closeablegroups to true
define a custom groupcolumnrenderer that alters the default text
group by a column
the text displayed in the header shows the default text instead of the custom one
Expected behavior
That groupcolumnrenderer be respected for both rtl=true and rtl=false
Screenshots
Desktop (please complete the following information):
Windows
Edge
Version 131
The text was updated successfully, but these errors were encountered:
Describe the bug
When using jqxgrid with rtl=true together with closeablegroups=true and columngrouprenderer, it does not result in a custom text.
It does works with rtl=false.
Reason:
In file 'jqwidgets/modules/jqxgrid.js' in function '_rendergroupcolumn' the correct value is set by this code
But later overriden by this code which ignores the content of group[0].innerHTML (the result of groupcolumnrenderer) and uses the initial value 'text' instead.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That groupcolumnrenderer be respected for both rtl=true and rtl=false
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: