Column selector (picker) doesn't remember multilingual column position

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Jan 20, 2010, 1:54:56 PM1/20/10
to In-Portal Bugs
Column selector (picker) doesn't remember multilingual column position. For example we have "Subject" field, which is multilingual. We place it in grid and later kMultiLanguage formatter replaces it with "l<ID>_Subject", where <ID> is ID of current language. So at the end column picker remembers position of "l1_Subject" column. Then we change language to ID = 2. Our column becomes "l2_Subject", which is new to column picker and "l1_Subject" column is gone. This was same column, but on different language is added at the end of the list, because column picker considers it as newly added column.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Alexander Obuhovich

unread,
Jan 20, 2010, 2:01:24 PM1/20/10
to In-Portal Bugs
I suppose we could fix this by using this idea:
  1. in case if kMultiLanguage formatter renames grid column, then it added new option "formatter_renamed" to it's declaration
  2. when column picker identifies column position, then it should strip language prefix ("l<ID>_") from column name (only for position detection).

Dmitry A.

unread,
Jan 20, 2010, 4:52:26 PM1/20/10
to In-Portal Bugs Team
Hi Alex,


This sounds like true - small, but still a bug.

I think would suggestion should work. Let me know if you are going to
add this patch here or someone else should do it.


Thanks.

On Jan 20, 1:01 pm, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> I suppose we could fix this by using this idea:
>

>    1. in case if kMultiLanguage formatter renames grid column, then it added


>    new option "formatter_renamed" to it's declaration

>    2. when column picker identifies column position, then it should strip


>    language prefix ("l<ID>_") from column name (only for position detection).
>

Alexander Obuhovich

unread,
Jan 26, 2010, 2:09:02 PM1/26/10
to in-port...@googlegroups.com
Patch attached.
Task: http://tracker.in-portal.org/view.php?id=555  ( 0000555: Column selector (picker) doesn't remember multilingual column position )

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.



ml_grid_column_fix2.patch
Reply all
Reply to author
Forward
0 new messages