Custom editor bad behavior II

Posted by: kbj on 23 July 2019, 3:03 am EST

    • Post Options:
    • Link

    Posted 23 July 2019, 3:03 am EST

    If I try to use the C1NumericEdit or the MyNumericEdit control in the work around supplied in https://www.grapecity.com/forums/spread-winforms/custom-editor-bad-behavior, the cell value is NOT updated and the CancelEditing sub is fired when a normal non cancelling action is taken (eg. leaving the cell or pressing Enter). I need to use a custom editor for I can change the decimal places/cultureInfo/etc before and after editing the value.

    -Thnaks,

    Kingman

  • Posted 28 July 2019, 5:38 pm EST

    Hello Kingman,

    I could see that the suggestion did not worked with Spread12. I am discussing this with the developers.

    I’ll get back to you once I have some information.

    Thanks,

    Ruchir

  • Posted 8 August 2019, 3:17 am EST

    Hi Ruchir,

    Is there a resolution or workaround yet?

    -Kingman

  • Posted 11 August 2019, 9:23 pm EST

    Hello,

    We have asked for a status update from the developers on this problem. I will soon get back to you with an update.

    Kind regards,

    Ruchir

  • Posted 15 August 2019, 10:07 pm EST

    Hi Ruchir,

    Does it normally take over 24 days to get a fix, or even a response from the developers?

  • Posted 19 August 2019, 10:46 pm EST

    Hello,

    The team has been actively working over to create a solution for this issue and it has been at top in their To-Do list. Based on the criticality of this issue, the team will be able to provide a solution for you within next few days.

    Kind Regards,

    Ruchir

  • Posted 25 August 2019, 11:15 pm EST

    Hello,

    I am happy to let you know, that the issue is fixed and you can find the installer from here: https://www.dropbox.com/s/3bwl6d4kbajv4b1/SpreadWin.msi?dl=0

    Also, in order to make it work you need to modify the cell type to support new interface IModifiedSupport, something like below:```

    Public Class MyCellType

    Inherits GeneralCellType

    Implements FarPoint.Win.Spread.CellType.ICellType, IEditor, IModifiedSupport

    Private Shared MyEditorControl As MyNumericEdit = New MyNumericEdit

    Public Function IsModified(editor As Control) As Boolean Implements IModifiedSupport.IsModified

    'C1 control declare a new Modified property but not use TextBoxBase.Modified

    Return MyEditorControl.Modified

    End Function

    
    Best wishes,
    Ruchir
    [zip filename="C1NumericEdit_Modified.zip"]https://gccontent.blob.core.windows.net/forum-uploads/file-3512a621-43bc-4169-ae0e-6b2d9a572b40.zip[/zip]
  • Posted 21 November 2019, 1:52 am EST - Updated 30 September 2022, 4:40 am EST

    The drop boxed msi fails to install:

  • Posted 25 November 2019, 9:44 pm EST

    Hi,

    I tested the shared *.msi link and it seems to be working fine as I was able to install Spread.Net 12 properly. Can you please try to uninstall Spread.Net 12 completely and then try to run the shared installer.

    Also, since Spread.Net13 is now public you can also try to use the same.

    Thanks,

    Ruchir

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels