How to use Spinner

QuestionsCategory: How TosHow to use Spinner
c3media asked 5 years ago

Hi Abu, It’s possible to use simple spinner in virtual column?

Refer: https://jqueryui.com/controlgroup/#default

Regards

4 Answers
Abu Ghufran Staff answered 5 years ago

I’ll be updating you back after making a demo.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff answered 5 years ago

Please refer this demo code for spinner usage.

https://gist.github.com/gridphp/72b1d7ae7670686433b699c8397f43c4

Line 68,122

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Denislav Kostov answered 5 years ago

Hello Abu ! Now i\’m using the spinner but is there any option to spin the value like ( 100,200,300 ) ?

Abu Ghufran Staff answered 5 years ago

Refer this link for spinner step setting: http://api.jqueryui.com/spinner/#option-step

Then you can set in:

$col[“editoptions”][“dataInit”] = “function(o){ $(o).spinner({step: 100}); }”;

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

9 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?