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

Row IsVisible changes after Sort/Group

5 Answers 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin Marsh
Top achievements
Rank 1
Kevin Marsh asked on 27 Mar 2008, 12:22 AM
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

5 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 27 Mar 2008, 01:23 PM
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
0
runningnet
Top achievements
Rank 1
answered on 30 Jun 2008, 04:58 PM

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)

0
Jack
Telerik team
answered on 01 Jul 2008, 12:14 PM
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
0
runningnet
Top achievements
Rank 1
answered on 01 Jul 2008, 10:11 PM
Support,

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

Dave
0
Jack
Telerik team
answered on 02 Jul 2008, 09:11 AM
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
Tags
GridView
Asked by
Kevin Marsh
Top achievements
Rank 1
Answers by
Jack
Telerik team
runningnet
Top achievements
Rank 1
Share this question
or