Announcement

Collapse
No announcement yet.

"user_data_specification.js" how change item type ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "user_data_specification.js" how change item type ?

    Hello,
    Via "user_data_specification.js", I have added a new item to the menu.
    Comprising 2 groups.
    In the first group, I have a Status item of type input.
    I would like to change the type of item to button or select.
    Is this possible without using the web API?

    Thank you

  • #2
    The custom inputs on the configuration manager will be shown as text boxes. They cannot be changed into other input types.

    What you could do is create custom HTML/Javascript page and load it as index.html to replace the Lantronix tab-based configuration manager, see here:
    http://wiki.lantronix.com/developer/...r_own_webpages

    You could use the examples from the library to get started:
    https://github.com/Lantronix/xpwJSlib

    And then you can add your other input types like checkboxes or radio inputs, and use Javascript to send data to /import/config with the XML that your inputs represent.

    Mariano

    Comment


    • #3
      Really a pity .. for a product whose strength must be the speed and ease of development and commissioning.
      Maybe in a next upgrade ..?

      Thank you!

      Comment

      Working...
      X