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
40
How to make UltraListView Item start edit on second click
posted

Hi,

How do i make UltraListView Item start edit on second click, rather than the first click ?

I would like the item to be only selected on the first click (without being in edit mode) and the second click will enter the item into edit mode.

Thanks in advance.

 

Parents
No Data
Reply
  • 5389
    Suggested Answer
    posted

    ekatvan,

    I don't believe there is a property that will allow this, however you might be able to accomplish this by handling some of the UltraListView's events.  You could create a boolean flag, set that boolean flag to true in the control's ItemActivating event, and then in the ItemEnteringEditMode event, check to see if the flag is true- if it is, cancel the event and set the flag back to false.  This logic should cancel the ItemEnteringEditMode the first time an Item is clicked, but allow the Item to go into edit mode when it is clicked the second time.

    Hope this helps,

    ~Kim~

Children
No Data