Search Support
-
matheswaran kAugust 8, 2016 at 2:16 am #2390
Hello,
This is my first question here, and sorry if I sound confused or didn’t provide enough information.
I’ve a table (Control ID: Table1) that has single select (CID: Single_Select1) and Text (CID: Text1) and I can add/ remove rows in the table. The single select has Items coming from config option and the binding variable is chosenValue[i].name[j] (NameValuePair). The text box is bound to chosenValue[i].value[j].
Now, whatever value I choose in screen, gets populated in the chosenValue NameValuePair variable but in UI, it doesn’t get shown properly.
Lets say, in the first row, I choose single select values as ‘value 1’, and then go ahead and change the value in second row to ‘value 2’, then the single select displayed value in ‘row 1’ gets changed to ‘value 2’. In the variable, the value gets assigned properly but in UI, it doesn’t show up correctly.
SPARK SupportAugust 8, 2016 at 3:18 pm #2392Hi Matheswaran,
Can you provide screenshots of the configuration for your Text field along with the bindings on the Table, Single Select and Text controls?
Regards,
Stephen P.
matheswaran kAugust 10, 2016 at 11:37 pm #2410Hello Stephen,
Thank you for your time. Here are the screenshots.
SPARK SupportAugust 11, 2016 at 2:36 pm #2426Hi Matheswaran,
Apparently binding the Single Select to a List in the Config Options causes all selected indexes to be updated.
Try changing the Item Lookup Mode to Items From Service with the implementation script moved to the service as in the following screen shoots.
Regards,
Stephen P.
Lalitha VempatiSeptember 4, 2019 at 2:53 am #5548Hi,
I have a requirement where we have to show list of Business Object(LoanBO) in a table. That LoanBO has 3 text values and one NameValuePair(used single select to display and binding is namevaluepair object has a ajax service call to display items in table). In table behaviour checked add row and delete row options.
Now if we add a new row and selected a new value to singleselect field. But after submitting the screen I am not able to see the new row data for namevalue pair, but for text values it is assigned correctly.
Can you please help me with this.
SPARK SupportSeptember 10, 2019 at 12:01 pm #5554Hi Lalitha,
Is your Single Select in the Modal Section and Single Select in the Table bound to the name property of the Name Value Pair?
Also, have you configured the On New Row Add by User event with a JSON object matching the BO definition?
Regards,
Stephen P.
-
|
You must be logged in to reply to this topic.