User (Old forums)MemberMay 9, 2007 at 12:15 pmPost count: 23064
I have had this problem many times. I set up a grid with a column that has the combobox editor and viewer. The data source for the combo dropdown is a table in a database, say, a list of names. I make the Value Member the key for the table (e.g. the initials) and the display format is set to show just the full name field. In the drop-down I make the initials column invisible. All very straighforward, just the sort of thing that many users would want to do.
Now the problem: after I have done this, if I want to go into the Columns collection to change something it will not let me do so – I get the following message (exactly):
The specified column cannot be the current column because it is not visible.
Parameter Name: CurrentColumn
I have found no way to get around this, and usually end up deleting the entire grid and starting again – a total pain in the neck! It seems as soon as I make the key column invisible, I can NEVER get back into the Columns collection again.
What is going on here? Is it me, or is there some bug in there?
Imported from legacy forums. Posted by Steve (had 3434 views)User (Old forums)MemberMay 10, 2007 at 4:09 pmPost count: 23064
We do not reproduce this behavior here. Which version of the grid are you using?
Imported from legacy forums. Posted by André (had 192 views)User (Old forums)MemberMay 10, 2007 at 8:36 pmPost count: 23064
Sorry, should have specified. The version for the Xceed grid (Xceed.grid.dll) is 3.2.6403.0
Imported from legacy forums. Posted by Steve (had 379 views)User (Old forums)MemberMay 11, 2007 at 1:06 pmPost count: 23064
I still can’t reproduce the issue with the .NET 1.1 component. However, the latest version is 3.2.7205.0. I suggest you try it, to see if this resolves the issue. If not, we will need a sample application that reproduces the problem. so we can investigate it further. Send it to <a href=”mailto:firstname.lastname@example.org”>support</a>.
Imported from legacy forums. Posted by André (had 269 views)
- You must be logged in to reply to this topic.