jQuery UI Widgets › Forums › Vue › jqxForm template init jqxSlider
Tagged: jqxForm jqxSlider template
This topic contains 7 replies, has 2 voices, and was last updated by jqwidgetsdev 6 months, 3 weeks ago.
August 24, 2022 at 6:21 pm jqxForm template init jqxSlider #122386
Is there an example that shows the use of
init – Sets the callback function for ‘custom’ type initialization.
I want to show a jqxSlider in JqxForm.
Thanks in advance.August 25, 2022 at 4:27 am jqxForm template init jqxSlider #122390
Here is an example of using the init function: https://codesandbox.io/s/nice-lumiere-jzfrsf
https://www.jqwidgets.com/August 25, 2022 at 7:04 am jqxForm template init jqxSlider #122391
I assume I need to use
Can you please point me to some documentation on the technique?
August 25, 2022 at 7:05 pm jqxForm template init jqxSlider #122396
- This reply was modified 7 months ago by jqwidgetsdev.
How would this work with JqxButtonGroup? An example would be very useful to me please.
Thanks in advance.August 26, 2022 at 6:22 pm jqxForm template init jqxSlider #122406
Here you are: https://codesandbox.io/s/zealous-meadow-o0922y?file=/src/App.vue
You can place the button group in the HTML and wrap it in a div. Next, you can append it to the container in the init function as shown in the demo.
If you need further assistance, let us know!
https://www.jqwidgets.com/August 26, 2022 at 8:00 pm jqxForm template init jqxSlider #122412
Yes, the technique works well, better than
createInstanceif you ask me. Thank you.
A follow up question. If we consider jqxForm having name/value pair rows, then for a given row is there a way to ignore the separate name/value elements and show a toolbar on the entire row?
I want to show a toolbar *inside the JqxForm* (not outside the JqxForm). Is this possible, how?
Thank you.August 29, 2022 at 5:54 am jqxForm template init jqxSlider #122417
Sorry if I do not understand you correctly, but if you are trying to add a toolbar into the form then the same goes for any component you initialize outside the form. In the init function, you append the whole wrapped component to the container element as shown in the previous example with the buttons’ group.
Link for the example: https://codesandbox.io/s/zealous-meadow-o0922y?file=/src/App.vue
https://www.jqwidgets.com/August 29, 2022 at 8:33 pm jqxForm template init jqxSlider #122426
Thanks, yes I see what you mean now. I got stuck as my example was using label.
I will give it a shot and revert back if I run into any problems.
You must be logged in to reply to this topic.