Hi,
How do I get the value of the selected row in a dxLooukup widget?
The code below does not work.
Dim retValue = dxLookup1.Eval("this.widget.option('value')")
Thanks,
Per
Excellent, Julie!
That worked perfectly. Thank you!
dxLookup1.Instance.onSelectionChanged += new WidgetEventHandler(this.dxLookup1_onSelectionChanged);private void dxLookup1_onSelectionChanged(object sender, WidgetEventArgs e)
{
AlertBox.Show(e.Data.ToJSON());
int value = await dxLookup1.Instance.optionAsync("value");
AlertBox.Show(value.ToString());
dxLookup1.Instance.option("value", 2);
See attached sample.
Please login first to submit.