jQWidgets Forums

jQuery UI Widgets Forums Grid Resize Column with jqxLinearGauge

This topic contains 3 replies, has 3 voices, and was last updated by  Martin 6 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Resize Column with jqxLinearGauge #93349

    klh717
    Participant

    I have a grid that uses the create widget column declaration to create a custom widget for the columns. Similar to the example the element is appended with a value, a unit, and then a jqxLinearGuage within a table.

    The result is something like <table><tr><td>200 units</td><td>Linear Guage showing 200 with limits</td></tr></table>

    The problem is that after specifying the create widget for the column the resize no longer works. I would like to allow the users to resize the columns as needed, reorder the columns as needed, and still keep the value, unit, and guage.

    Is this a known issue, due to the table I’m using, or something else? I can try to provide a simple example if needed.

    Thank you,

    Kris

    Resize Column with jqxLinearGauge #93355

    klh717
    Participant

    I have fixed the issue. For anyone else with this issue, I had to use the createwidget and initwidget. The create just creates the widget div and inits the object. The init method removes the previously created widget using remove() method and creates a new one. This fixed the issue with sort and resize I was having.

    Resize Column with jqxLinearGauge #103163

    srikomma
    Participant

    Can I use linearguage for below json data ? or any suggestions to different container?

    “pcHealth”: {
    “availableLevels”:[
    “Immobile”,
    “Crawl like a baby”,
    “Walk”,
    “Bicycle”,
    “Scooter”,
    “Bus”,
    “Car”,
    “Train”,
    “Airplane”
    ],
    “currentLevel”:”Scooter”
    }

    Resize Column with jqxLinearGauge #103184

    Martin
    Participant

    Hello srikomma,

    Yes, you can use jqxLinearGauge if you add also number values and use the ‘levels’ as labels.
    Here is an Example.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.