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
65
How to Customize ColumnStyle.DateWithSpin
posted

Hi,

I have a ultragrid column with ColumnStyle.DateWithSpin. I want to customize its behavior. I am facing two problems as follows:

1) I want to set SpinIncrement as 3. If I set it, it throws an error.

2) I also want to set if user click on on up/down only month portion of the date will be incremented or decremented.

So please help me..

Thanks,

Samaresh

Parents
  • 469350
    Offline posted

    Hi Samaresh,

    samareshmandal said:
    1) I want to set SpinIncrement as 3. If I set it, it throws an error.

    What is the error?

    And what do you want the spin increment to be? 3 what? Days, months, years?

    What exactly are you setting the SpinIncrement property on? The grid column has no such property, so I assume you must be using an editor or editor control.

    samareshmandal said:
    2) I also want to set if user click on on up/down only month portion of the date will be incremented or decremented.

    Do you want to change the selection behavior? So that the month spins no matter where the cursor is?

     

Reply Children