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

CellType IntegerEdit without default zero "0"

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

4 Replies

KR Krzysztof January 7, 2020 08:37 PM UTC

found but hard to find ..

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


AR Arulpriya Ramalingam Syncfusion Team 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. 
 
Regards, 
Arulpriya 



KR Krzysztof 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?


AR Arulpriya Ramalingam Syncfusion Team 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. 
 
Regards, 
Arulpriya 


Loader.
Live Chat Icon For mobile
Up arrow icon