Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Freezing column provokes it to be shifted to the left

    Hello guys
    I'm using the last version of SmartGWT and I'm experiencing something which I don't know if it's wanted or it's a bug.
    If in a ListGrid we define a column as frozen, it's automatically shifted to the left, no matter how I define the column in the datasource ds.xml (I defined it as the last column, but this didn't influence the behaviour)
    It's logical that it gets shifted somewhere, because of the scrollbar.
    But is it configurable? In my application we need to have the frozen column on the right side and the others (with the scrollbar) on the left side.
    Otherwise we need to do 2 tables for frozen and non-frozen columns, with 2 different datasources which I find annoying and conceptually wrong, as it is the same table on the database.
    Thanks for any hint

    Laura

    #2
    Forgot to mention, I tried even dividing the non frozen columns into different HeaderSpans, and then set them in the right order, but didn't work

    Example
    grid.setHeaderSpans(headerSpanNormalColumns, headerSpanFrozenColumns);

    will still collocate headerSpanFrozenColumns on the left. I want it on the right side instead.

    Comment

    Working...
    X