Flicker can be observed when datagrid is manipulated/updated, or entering in edit mode. One example is tapping on a column header - when there is a column with a HeadetTemplate, the column header flickers. Other example is to double-tap a cell to go in edit mode. Also the behavior can be reproduced when DataGrid TemplateColumn is used.
For Aggregates purpose or just for diplaying some others datas, footer for column in DataGrid it's needed feature.
I have an custom column extending "DataGridTextColumn". This column overrides "CreateGroupDescriptor" methods and returns an instance of "DelegateGroupDescriptor". Once we group items in this column it can never be cleared/un-grouped.
Any help would be heighly appreciated. Thanks in advance.
When defining a Date column like
<tdg:DataGridDateColumn PropertyName="ExpiryDate" HeaderText="Expiry"/>
and binding data with a type with Nullable datetime
public System.DateTime? ExpiryDate
{
get { return _expiryDate; }
set { SetProperty(ref _expiryDate, value); }
}
We get an exception
Is there a workaround?
Thanks
Like in the WPF GridView control:
https://docs.telerik.com/devtools/wpf/controls/radgridview/columns/column-groups
SizeMode="Fill" for Xamarin.Forms datagrid column to fill the space left
e.g.
<radDataGrid:DataGridDateColumn PropertyName="Date" SizeMode="Fixed" Width="80" />
<radDataGrid:DataGridTextColumn PropertyName="Title" SizeMode="Fill" />
<radDataGrid:DataGridNumericalColumn PropertyName="Score" SizeMode="Auto" />
=>
First column has width 80, 3rd column has width of content (already working)
NEW: Second column occupies the space left
Datagrid
Built in features for:
- Paging
eg. https://demos.telerik.com/aspnet-mvc/grid/paging
- Search Panel
eg. https://demos.devexpress.com/MVCxGridViewDemos/Filtering/SearchPanel
​- Sorting
eg. https://demos.telerik.com/aspnet-mvc/grid/sorting
I am trying to replicate a part of our MVC application using xamarin.forms.
The forms required will have a datagrid, when a row is clicked I want to open a pdfViewer.
These built in features would help me and others.
Regards,
Graham
Hi,
I was wondering if it is possible to bind the datagrid commands to ICommand in vm like in listview (https://docs.telerik.com/devtools/xamarin/controls/listview/listview-features-commands second method) ?
Occasionally the DataGrid horizontal scrolling does not work properly after changing its ItemsSource. Still, tapping on any item, make it possible to scroll again.
in UWP and using Telerik UI Xamarin R3 2018 got (while Building it): 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: Loading assembly "C:\Program Files (x86)\Progress\Telerik UI for Xamarin R3 2018\Binaries\UWP\Telerik.XamarinForms.DataGrid.dll" failed. System.TypeLoadException: Could not load type 'Xamarin.Forms.Xaml.XamlResourceIdAttribute' from assembly 'Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Attribute.GetCustomAttribute(Assembly element, Type attributeType, Boolean inherit) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](Assembly element) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(1203,5): error MSB3816: at Microsoft.Build.Tasks.ProcessResourceFiles.ReadAssemblyResources(String name, String outFileOrDir) 1>C:\Program Files (x86)\Progress\Telerik UI for Xamarin R3 2018\Binaries\UWP\Telerik.XamarinForms.DataGrid.dll : error MSB3103: Invalid Resx file. String reference not set to an instance of a String. 1>C:\Program Files (x86)\Progress\Telerik UI for Xamarin R3 2018\Binaries\UWP\Telerik.XamarinForms.DataGrid.dll : error MSB3103: Parameter name: suffix Tried to find a similar reported issue but none-is-found...