show/hide grid columns in other tab

8 posts, 2 answers
  1. Gusev
    Gusev avatar
    74 posts
    Member since:
    Dec 2012

    Posted 11 Jul 2013 Link to this post

    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
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 12 Jul 2013 Link to this post

    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!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Gusev
    Gusev avatar
    74 posts
    Member since:
    Dec 2012

    Posted 14 Jul 2013 Link to this post

    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
  5. Gusev
    Gusev avatar
    74 posts
    Member since:
    Dec 2012

    Posted 16 Jul 2013 Link to this post

    I upgraded, but bug doesn't gone :(

  6. Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 16 Jul 2013 Link to this post

    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!
  7. Gusev
    Gusev avatar
    74 posts
    Member since:
    Dec 2012

    Posted 16 Jul 2013 Link to this post

    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;
  8. Answer
    Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 17 Jul 2013 Link to this post

    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!
  9. Gusev
    Gusev avatar
    74 posts
    Member since:
    Dec 2012

    Posted 19 Jul 2013 Link to this post

    Hello Dimo,
    Thanks for your help! We didn't update correctly JS files, now all works fine!
Back to Top
UI for ASP.NET MVC is VS 2017 Ready