We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CellType IntegerEdit without default zero "0"

Thread ID:





150454 Jan 7,2020 07:59 PM UTC Jan 9,2020 12:37 PM UTC WPF 4
Tags: GridControl
Asked On January 7, 2020 07:59 PM UTC

How to set CellType IntegerEdit without default zero "0" ?

Replied On January 7, 2020 08:37 PM UTC

found but hard to find ..

....... Style.IntegerEdit.UseNullOption = true;

Arulpriya Ramalingam [Syncfusion]
Replied On January 8, 2020 09:21 AM UTC

Hi Krzysztof, 
Thank you for using syncfusion products. 
As per the GridControl current behavior for CellStyle, the IntegerEdit, MaskEdit or DateTimeEdit properties can be used to change the UiElements default functions based on cell types. We have considered this and include the details about IntegerEdit properties in our user guide and the changes will be reflected in our next automation (from 13th January 2020). 
Please get back to us, if you need any assistance. 

Replied On January 8, 2020 03:21 PM UTC

Only a suggestion that the effect on copying to the clipboard can be set directly in e.Style.DoubleEdit. ... not by means of an event.

gridControl.Model.ClipboardCanCopy + = new GridCutPasteEventHandler (Model_ClipboardCanCopy);

The format of this copy = to make it easy to set, to copy what you see. e.g. e.Style.DoubleEdit.CopyOptions = "Visual" the same with data export

unless you can do it simpler?

Arulpriya Ramalingam [Syncfusion]
Replied On January 9, 2020 12:37 PM UTC

Hi Krzysztof, 
Thank you for the update. 
We have analyzed the reported scenario at our end. As per our GridControl for WPF does not have any property or options to paste the formatted text of DoubleEdit cell. This can only be implemented by customizing the CopyPaste event and adding the copy as you have mentioned. Moreover, we regret to let you know that currently, we do not have any plan to implement it. 
Please get back to us, if you have any other queries. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon