Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
510
Editing the cell value
posted

Hi ,

I am working on Ultrawingrid and I have data in a cell that is in the format  4535-654-6754.

So based on some conditions I want to disable 4535-654- and able to edit 6754 part.

How do I part of cell data.

 

Thanks

Parents
  • 469350
    Offline posted

    Hi,

    There is no built-in functionality to allow you to disable editing for only part of the value in a cell. Only the entire cell can allow or disallow editing.

    One thing you could do is separate the parts of the value. For example, you could have one cell that contain the first part (####-###) and a second cell that contains the last 4 digits. Then you could enable editing on each part independently.

    Another option would be to write your own custom control, like a UserControl that handles this. Then you could use that UserControl inside the grid with the UltraControlContainerEditor.

Reply Children