Column visibility

39 views
Skip to first unread message

Evgeny

unread,
Feb 21, 2012, 2:53:31 PM2/21/12
to MyTableGrid
Hi Pablo,

I've tried to hide few rows from grid ("visible: false" in
columnModel) but header stayed untouched.

Am I doing something wrong?

Thanks!
Evgeny

Pablo Aravena

unread,
Feb 21, 2012, 3:16:49 PM2/21/12
to mytab...@googlegroups.com
Hey Evgeny

You just discover a new bug :-(, let me see if can fix it. The problem
is located at _createHeaderRow method, is too complex and I'm trying
to remember what I did here :-(

I think It will be fixed by next week

Regards
Pablo

> --
> You received this message because you are subscribed to the Google Groups "MyTableGrid" group.
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to mytablegrid...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mytablegrid?hl=en.
>

casmx

unread,
May 5, 2012, 3:07:10 PM5/5/12
to mytab...@googlegroups.com
Hi,

There is a walk around, Use afterRender with this you can hide as many columns as you want.

Example:
    afterRender : function(){
        tableGrid._toggleColumnVisibility(2, false);
        tableGrid._toggleColumnVisibility(3, false);
        tableGrid._toggleColumnVisibility(4, false);
    },

Best regards


On Tuesday, February 21, 2012 2:16:49 PM UTC-6, parav...@gmail.com wrote:
Hey Evgeny

You just discover a new bug :-(, let me see if can fix it. The problem
is located at _createHeaderRow method, is too complex and I'm trying
to remember what I did here :-(

I think It will be fixed by next week

Regards
Pablo

On Tue, Feb 21, 2012 at 11:53 AM, Evgeny <evgenyk...@gmail.com> wrote:
> Hi Pablo,
>
> I've tried to hide few rows from grid ("visible: false" in
> columnModel) but header stayed untouched.
>
> Am I doing something wrong?
>
> Thanks!
> Evgeny
>
> --
> You received this message because you are subscribed to the Google Groups "MyTableGrid" group.
> To post to this group, send email to mytab...@googlegroups.com.

> To unsubscribe from this group, send email to mytablegrid+unsubscribe@googlegroups.com.

Pablo Aravena

unread,
May 6, 2012, 6:19:16 PM5/6/12
to mytab...@googlegroups.com
Excellent :-D
>> > mytablegrid...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/mytablegrid?hl=en.
>> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "MyTableGrid" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mytablegrid/-/SYaCqGGh6dMJ.
>
> To post to this group, send email to mytab...@googlegroups.com.
> To unsubscribe from this group, send email to
> mytablegrid...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages