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

When multiple cells are selected, numeric pad entry should update cells:

3 Answers 158 Views
GridView
This is a migrated thread and some comments may be shown as answers.
saurabh
Top achievements
Rank 1
saurabh asked on 17 Jun 2010, 07:27 PM
we need few unique functionality in Telrick Grid. I don't know this kind of functionality exist in Trlerick GridView control or not. if yes please send a sample application for it. I have attached a details document please find the attachment.

A selected row/column should highlight be highlighted, even when a specific cell is being edited:

 Multi-select should be supported.

 When multiple cells are selected, numeric pad entry should update cells:

 When a single cell is in edit mode, numeric input should only be allowed, to 2 decimals (similar to calendar control:

 Backspace should clear values.

Users should be able to click a column header and select an entire column

 

 

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 18 Jun 2010, 06:23 AM
Hello,

 You can find more info about cell selection here. The official release will be early next month. 

All the best,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ashish
Top achievements
Rank 1
answered on 22 Jun 2010, 11:21 AM
Hello Vlad,

I have checked your demo and need to describe you some things related to my requirement and the problems i am facing with:

Requirements:
1. The user can be able to select an entire row by using keyboard or mouse.
2. The user can be able to select an entire column or multiple cells by using keyboard or mouse.
3. The user can be able to select a group of cells my using mouse. (Currently the problems is we need to click on a particular cell to select/deselect. I need this functionality over mouse move.
4. When user can select his selection, he can enter the values in selected cells.
5. These all requirements should supprort with grouping.

Problem:
I am facing a single problem of An unhandled exception has occured with the following details, whenever i select the telerik grid in designer mode. Due to this i am unable to work in designer.

System.Reflection.TargetInvocationException

Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Delegate.DynamicInvokeImpl(Object[] args) 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)

 

System.TypeLoadException

Cannot find type System.ComponentModel.IEditableCollectionView in module System.Windows.dll.

at Microsoft.MetadataReader.MetadataOnlyAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at Microsoft.MetadataReader.MetadataOnlyAssembly.GetType(String name, Boolean throwOnError) at Microsoft.MetadataReader.MetadataOnlyModule.ResolveTypeRef(ITypeReference typeReference) at Microsoft.MetadataReader.MetadataOnlyTypeReference.GetResolvedTypeWorker() at Microsoft.MetadataReader.TypeProxy.GetResolvedType() at Microsoft.MetadataReader.TypeProxy.GetHashCode() at System.Collections.Generic.ObjectEqualityComparer`1.GetHashCode(T obj) at System.Collections.Generic.HashSet`1.InternalGetHashCode(T item) at System.Collections.Generic.HashSet`1.Contains(T item) at Microsoft.MetadataReader.MetadataOnlyTypeDef.GetAllInterfacesHelper(MetadataOnlyCommonType type) at Microsoft.VisualStudio.Shell.Design.CachingTypeDef.GetInterfaces() at Microsoft.VisualStudio.Shell.Design.TypeWrapper.GetInterfaces() at MS.Internal.Metadata.ClrType.<get_Interfaces>d__46.MoveNext() at MS.Internal.Design.Metadata.Xaml.XamlType.<GetTypeInterfaces>d__19.MoveNext() at MS.Internal.Design.Metadata.Xaml.XamlType.CalculateDictionary(XamlMember member) at MS.Internal.Design.Metadata.Xaml.XamlMember.GetState(UInt32 bit, CalcuateStateCallback callback) at Microsoft.Windows.Design.Metadata.Xaml.XamlExtensionImplementations.IsDictionary(ITypeMetadata sourceType) at Microsoft.Windows.Design.Metadata.Xaml.XamlExtensions.IsDictionary(ITypeMetadata source) at MS.Internal.Design.DocumentModel.DocumentTrees.VirtualModel.VirtualModelDocumentTreeManager.GetModelItem(Identity identity, ITypeMetadata type, Boolean isItemIdentity) at MS.Internal.Design.DocumentModel.DocumentTrees.VirtualModel.VirtualModelDocumentTreeManager.MS.Internal.VirtualModel.IVirtualModelHost.GetModelItem(Identity identity, ITypeMetadata type) at MS.Internal.VirtualModel.VirtualModelProperty.get_Value() at MS.Internal.Designer.PropertyEditing.Model.ModelUtilities.GetSafeValue(ModelProperty property, Boolean resolveReferences) at MS.Internal.Designer.PropertyEditing.ExtensibilityAccessor.IsReadOnly(List`1 properties, IsMixedValueEvaluator isMixedValueEvaluator) at MS.Internal.Designer.PropertyEditing.Model.Properties.ModelPropertyEntry.CachedValues.get_IsReadOnly() at MS.Internal.Designer.PropertyEditing.Model.Properties.ModelPropertyEntry.CachedValues.get_IsBrowsable() at MS.Internal.Designer.PropertyEditing.Model.Properties.ModelPropertyEntry.get_IsBrowsable() at MS.Internal.Designer.PropertyEditing.CiderCategoryContainer.AddProperty(PropertyEntry property, ObservableCollection`1 unconsumedProperties, ObservableCollection`1 referenceOrder, ObservableCollection`1 categoryEditors) at MS.Internal.Designer.PropertyEditing.FromExpression.Framework.PropertyInspector.CategoryContainer.BasicProperties_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item) at System.Collections.ObjectModel.Collection`1.Insert(Int32 index, T item) at MS.Internal.Designer.PropertyEditing.Model.ModelCategoryEntry.Add(PropertyEntry property, ObservableCollection`1 bucket, IComparer`1 comparer, Boolean fireCollectionChangedEvent) at MS.Internal.Designer.PropertyEditing.Views.ByCategoryViewManager.AddProperty(IEnumerable`1 propertySet, String propertyName, CategoryList categoryList) at MS.Internal.Designer.PropertyEditing.Views.PropertyEntryReader.RedraftEntries(IPropertyViewManager viewManager, Selection selection, Boolean attachedOnly, IEventCodeBehindProxy eventCodeBehindProxy, CategoryList categoryList) at MS.Internal.Designer.PropertyEditing.PropertyInspector.UpdateCategories(Selection selection, Boolean attachedOnly, IEntryReader entryReader) at MS.Internal.Designer.PropertyEditing.PropertyInspector.RefreshPropertyList(Boolean attachedOnly) at MS.Internal.Designer.PropertyEditing.PropertyInspector.OnSelectionChangedIdle()

I am attaching some imaged for my requirement. Please have a look on those and let me know if we can have any kind of online meeting and have a discussion to make you understand my problem and requirements. If you are all set with my requirement, please send me detailed steps to achieve this task, and if possible, please provide me a demo application.

Thanks and Regards

Ashish Sharma

0
Milan
Telerik team
answered on 28 Jun 2010, 12:52 PM
Hi Ashish,

Thank you for your interest in our Silverlight controls.

The cell selection mechanism that will be introduced with our upcoming release will cover most of your requirements. Unfortunately features like column selection and editing of the selected cells will not be supported but hopefully we will be able to implement them for the first service pack of Q2.

Selecting entire row with mouse, selecting cells with mouse and/or keyboard, selection in grouped mode will be supported.

In regard to the exception, it is most probably cause by old Silverlight installation. Do you have the latest Silverlight Tools and runtime? Another information that might be helpful is the version of Visual Studio that is being used.

Greetings,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
saurabh
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Ashish
Top achievements
Rank 1
Milan
Telerik team
Share this question
or