Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 503549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:24:19+00:00 2026-05-13T06:24:19+00:00

How do I set value dynamically to the integerpicker?

  • 0

How do I set value dynamically to the integerpicker?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:24:19+00:00Added an answer on May 13, 2026 at 6:24 am

    First insert a interpicker to your html scene:

    <div x-mojo-element="IntegerPicker" id="integerpickerId" class="integerpickerClass" name="integerpickerName"></div>
    

    Then instantiate the picker in the Scene-assistant.js file in the setup function:

    MainSceneAssistant.prototype.setup = function() {
    
        this.controller.setupWidget("integerpickerId",
                 this.attributes = {
                     label: 'Number',
                     modelProperty: 'value',
                     min: 0,
                     max: 20
    
                 },
                 this.integerPickerModel = {
                     value: 5
                 });}
    

    You can than change the picker dynamically by setting the model:

    this.integerPickerModel.value = 10;
    this.controller.modelChanged(this.integerPickerModel, this);
    

    This works for the most widgets in webos, like pickers and textfields.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to set cell/column value dynamically using PHPExcel library? I am fetching result set
I know you can not set a key value dynamically, but what about the
I have some progress bar (search results), which value is dynamically set on document.ready
Is it possible to set value dynamically for any XML element using the XmlDocument
I have set the value of a hidden input element dynamically on clicking a
I'm trying to set the value of an instance variable dynamically at runtime in
in my application I want set textfield value dynamically coming from header. Here is
I need to write a generic procedure that set value for one column or
How do I set a value to only accept certain data in Python ?
i want to set the value to a insert query from select query ,how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.