This is a migrated thread and some comments may be shown as answers.

show/hide grid columns in other tab

7 Answers 146 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Gusev
Top achievements
Rank 1
Gusev asked on 11 Jul 2013, 10:09 AM
Hello!
I use Tabstrip(asp mvc)! I have two tabs;
Example:
I select second tab;
I have grid in first tab
And If I use this:
grid.showColumn() 
All good, but if I use grid.hideColumn
I see this:
screan_1.png
But I need:
screan2.png

7 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 12 Jul 2013, 05:35 AM
Hello Grigoriy,
 

There were problems with hiding Grid columns when the Grid is invisible, but they are fixed now. Please upgrade. Here is a demo with the Q1 2013 SP1 version:

http://jsfiddle.net/dimodi/hx2z9/

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gusev
Top achievements
Rank 1
answered on 14 Jul 2013, 06:21 AM
Hello Dimo,
Thanks for your help!
It's good news,but I have second problem and question.
This update fixes my bug with grid.dataSource.read() ?
Because If I call grid.dataSource.read()  (which is contained in tabstrip_2) from tabstrip_1 then I see (error_1)
But I have not 1 obj, please see error_2
0
Gusev
Top achievements
Rank 1
answered on 16 Jul 2013, 05:50 AM
I upgraded, but bug doesn't gone :(

0
Dimo
Telerik team
answered on 16 Jul 2013, 06:59 AM
Hi Grigoriy,
 

I am afraid I don't understand what is the problem in this case and what errors you are referring to on the screenshots. Please provide further details and a runnable demo, which reproduces the unexpected behavior.

On a side note, we recommend splitting unrelated discussions in separate forum threads.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gusev
Top achievements
Rank 1
answered on 16 Jul 2013, 08:18 AM
Hi Dimo,
I attached my file

guide:
Press the button in first tab and all :)

My problem in this file:
"Age" doesn't show;
"City" doesn't hide;
0
Accepted
Dimo
Telerik team
answered on 17 Jul 2013, 07:14 AM
Hi Grigoriy,

The attached code works correctly. Please make sure you have upgraded correctly the JS and CSS files.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gusev
Top achievements
Rank 1
answered on 19 Jul 2013, 01:25 PM
Hello Dimo,
Thanks for your help! We didn't update correctly JS files, now all works fine!
Tags
TabStrip
Asked by
Gusev
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Gusev
Top achievements
Rank 1
Share this question
or