I have a grid with 15-20 columns generated dynamically. First 2 columns are freezed. Third column is disabled. When we try to scroll the grid horizontally(with first two columns freezed), some of the cells are getting disabled. If we keep on scrolling grid horizontally(to left and right), the columns are getting enabled/disabled. The behaviour is not uniform too. Sometimes, cells are not getting disabled.
HI..
I set the property to be Readonly but I can still select the time.
How do I make the control readonly and disabled. There is no disable prop.
thanks again
Under the main menu I have a menu group which has 2 menu items and only one can be selected at a time.
how to achieve this?
I have gone through the sample but it is very confusing. Can you please provide a simpler example.
I'm programmatically changing the location of items that are data bound to the map but they don't actually update their positions visually on the map until I pan the map with the mouse. Is there some way to force the map to refresh automatically?
I'm using Q1 2010 ComboBoxColumns in my GridView. For multi-editing 1-n items in my GridView i added a SelectionColumn and some controls outside the GridView so i can select as many items i want and use the outside controls for setting the properties for the selected items.
Furthermore it should be possible to edit one GridViewItem by setting the property directly by choosing from the ComboBoxColumn at the specific row. It would be great if i can do so without unselecting the other selected items. GridView.SelectedItems return all selected items of course, GridView.CurrentItem or GridView.SelectedItem returns the first selected item. I guess the GridView knows which row i'm editing because of the "cursor-editing" icon on the left side when clicking into one row.
For my purpose it is mandatory to retrieve this information in my CodeBehind, because i'm using 5 GridViewComboBoxColumns and their items are depending on the other selected ComboBoxItems, so if i select an item from the first ComboBoxColumn, the items of the second ComboBoxColumn have to be filtered because of my selection.
So i need to get the current row in my CodeBehing or a nice way to filter the ComboBoxColumns by DataBinding or any other way.
Looking forward to hearing from you.
All the best,
Markus
Hi,
after I installed the latest build, 210.1.430.35,
my gridviewcomboboxcolumn gives exceptions, also cellstyle doesn't seem to work properly.
After an item is added to the itemssource of the comboboxcolumn inside the roweditended event handler of the radgridview, the following exception occurs after leaving this eventhandler:
System.ArgumentOutOfRangeException was unhandled by user code
Message=Specified argument was out of the range of valid values.
Parameter name: index
Source=Telerik.Windows.Data
ParamName=index
StackTrace:
at Telerik.Windows.Data.QueryableCollectionView.GetItemAt(Int32 index) in c:\Builds\WPF_Scrum\Core_WPF_2010_Q1\Sources\Development\Core\Data\Collections\QueryableCollectionView.cs:line 1202
at Telerik.Windows.Data.DataItemCollection.get_Item(Int32 index) in c:\Builds\WPF_Scrum\Core_WPF_2010_Q1\Sources\Development\Core\Data\Collections\DataItemCollection.cs:line 431
at Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.Generator.GenerateNext(Boolean stopAtRealized, Boolean& isNewlyRealized) in c:\Builds\WPF_Scrum\GridView_WPF_2010_Q1\Sources\Development\Controls\GridView\GridView\GridView\ItemsControl\GridViewItemContainerGenerator.cs:line 1204
at Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.GenerateNext(Boolean& isNewlyRealized) in c:\Builds\WPF_Scrum\GridView_WPF_2010_Q1\Sources\Development\Controls\GridView\GridView\GridView\ItemsControl\GridViewItemContainerGenerator.cs:line 236
at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(Size constraint) in c:\Builds\WPF_Scrum\GridView_WPF_2010_Q1\Sources\Development\Controls\GridView\GridView\GridView\Virtualization\GridViewVirtualizingPanel.cs:line 1199
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
InnerException:
The following style doesn't work with the latest build:
<telerik:GridViewComboBoxColumn Header="Zit in"
DataMemberBinding="{Binding ComponentCode}"
DisplayMemberPath="SchemaCode"