Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-22517
in
6.2.1.
-
Sencha Premium Member
Upgrading from 6.0.2 to 6.2.0 has made all our grids right-align
I think I'm encountering the same issue as this thread in the 6.2 early access forum
https://www.sencha.com/forum/showthr...sed-by-default
Note: I don't think the correct question is 'why is rtl being used', it's more an issue that somehow our app is making our grid column text alignments rtl even though the rest of the application correctly appears ltr
I couldn't reproduce the issue in Fiddle (does that load the non-rtl version of the library?) and I've not put enough background work into debugging to uncover why it's doing this, but changing our build framework in app.json from "path": "${framework.dir}/build/ext-all-rtl-debug.js" to "path": "${framework.dir}/build/ext-all-debug.js" seems to work for now.
My progress in debugging this is that:
- columns appear to originally default to 'start' as expected
- by the time the execution reaches renderCell column.textAlign evaluates as 'right'
- explicitly setting 'align' in a column config results in correct display
- this only seems to affect development builds (sencha app watch) - development and testing builds work as expected
As would be expected from having the columns alignment being incorrectly set as 'right', the grid-cell-inner element has element.style of text-align: right
-
Sencha Premium Member
I can confirm the same problem.
If align is not defined it's like is taking "right"
-
Thanks for the report. We're tracking this as EXTJS-22517. I see a fix checked in, but no merge yet. It will likely be fixed in 6.2.1.
-
Sencha Premium Member
Same thing is happening with treepanel.
-

Originally Posted by
Gary Schlosberg
Thanks for the report. We're tracking this as EXTJS-22517. I see a fix checked in, but no merge yet. It will likely be fixed in 6.2.1.
Since this is a pretty bad bug can we get an override or workaround for it?
-
Sencha Premium Member
Is this fix already in the nightly from 12. September, as this nigthly's version is 6.2.1?
-
I don't know of an override available for this yet.
A far as I can tell, the fix should be in last night's nightly build.
-
Sencha Premium User
I downloaded the 6.2.1 nightly build. But how can I get Architect to use it? Do I have to give the folder a special name? Can I use a parameter or change something in the Architect configuration or the project config?
-
Sencha User
How about for those who use Trial? I tried to download again and still is 6.2.0, so do cmd: 6.2.0.103.
-
TonySteele, it's possible the recent fix would correct the problem for tree panels as well. Are you able to test with a nightly to see if this is the case?
Martin Lungershausen, I don't know that the current version will work with Ext JS 6.2.1 since it doesn't support it.
Hooah, I don't currently have a workaround for this. 6.2.1 has not been released yet. It is available in the Support portal, but I don't recommend using it in production until a stable release.