Row IsVisible changes after Sort/Group

6 posts, 0 answers
  1. Kevin Marsh
    Kevin Marsh avatar
    12 posts
    Member since:
    Dec 2007

    Posted 26 Mar 2008 Link to this post

    I entered a support ticket against Q3 2007 stating this:

    I need to hide a row and keep it hidden no matter what the user does (sort, group, etc).  I can't use a filter, because I need the grouping when the user chooses to group (a filter excludes the row from the grouping).  I can hide the row using IsVisible, but the row's IsVisible is reset to true by changes to sort, sort order, grouping, etc.  Visibility settings are ignored in the RowFormatting event.

    Any suggestions?

    Thanks.

    I received the following reply:

     Kevin,

    Thank you for contacting us.

    This issue has been resolved in 
    RadGridView Q1 2008 Beta. Please, give it a spin and let us know what you think.

    In the current stable release you should process the SortingChanged and GroupingChanged events.

    Let us know, if you need further assistance.

     
    Greetings,
    Jack
    the Telerik team


    BUT, the IsVisible is still being reset on my rows whenever the user chooses to sort or group.  Should I be using something other than IsVisible?  Did this not make the Beta release?

    Thanks.

    Kevin
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 27 Mar 2008 Link to this post

    Hi Kevin,

    You can find the answer to this question in the support ticket you sent to us earlier. Let me know, if you have other questions.

    Best wishes,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. runningnet
    runningnet avatar
    20 posts
    Member since:
    Oct 2006

    Posted 30 Jun 2008 Link to this post

    Can you post the solution to this problem?  I'm getting something similar when I rebind a datagrid while the user is sorting.  I have a Visible=false column called statusminutes that generates this error every once in a while.

    System.IndexOutOfRangeException: Cannot find column StatusMinutes. at System.Data.DataTable.ParseSortString(String sortString) at System.Data.DataView.UpdateIndex(Boolean force, Boolean fireEvent) at System.Data.DataView.UpdateIndex(Boolean force) at System.Data.DataView.SetIndex2(String newSort, DataViewRowState newRowStates, IFilter newRowFilter, Boolean fireEvent) at System.Data.DataView.SetIndex(String newSort, DataViewRowState newRowStates, IFilter newRowFilter) at System.Data.DataView..ctor(DataTable table, String RowFilter, String Sort, DataViewRowState RowState) at TeleRadiaThickClient.frmMainNew.bwFillWorkLists_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)

  5. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 01 Jul 2008 Link to this post

    Hello David,

    Thank you for getting back to us.

    This issue has been addressed in our latest release Q1 2008 SP1. I strongly recommend using the latest release of our product. You can download the Q1 release directly from your Client.net account.

    Do not hesitate to contact me if you have other questions.

    Sincerely yours,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. runningnet
    runningnet avatar
    20 posts
    Member since:
    Oct 2006

    Posted 01 Jul 2008 Link to this post

    Support,

    I have the latest dll's downloaded and updated in my project.
    WinControls.UI = 6.1.0.0

    Dave
  7. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 02 Jul 2008 Link to this post

    Hi David,

    Thank you for getting back to us.

    I could not reproduce this issue with local test. It could be specific only for your application and occurs in a specific case. I would like to investigate the issue further. Could you, please send me a sample application that reproduces the issue. This will help locate it and address it faster.

    Thank you for your cooperation.

    Regards,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready