Hi Team,
Good day,
In the above image 4 items available in the combo box datasource, here second item (@Name) selected, In my case ,ex: i need to set the 4th item(ADDRESSLINE2) as a selected item after the query widget rendered,
Note: In my case i need to update @Name to ADDRESSLINE2 without user selecting the option, instead i need to update to ADDRESSLINE2 programmatically using jquery setvalue method. I noticed the update to ADDRESSLINE2 using setvalue is occurred, but vanished immediately after widget is rendered/refreshed after Apply button click.
How to handle such scenario to update options of webix query widget combobox without user selecting the value ? Any suggestions would be really helpful.
Below is the query combobox:
<div class=“webix_inp_static” role=“combobox” aria-label="" tabindex=“0” onclick="" style=“line-height:30px;width:274px;text-align:left;” aria-autocomplete=“list” aria-expanded=“false” aria-live=“assertive” aria-atomic=“true”>@Name</div>
I have selected the component using css selector to handle:
document.querySelector(’.webix_inp_static’)
Thanks & Regards,
Vinosh M