Hi Guys,
I just created a SDK component - simple "select box", By editing a Sample SDK "com.sap.sample.simpletable" just for learning purpose.
Now I am trying data binding with this component by editing the "com.sap.sample.simpletable" code, and here I got stucked.
I am selecting a row/column data in design studio and I want to add the values of selected row/column as "options" in my select box.
You can see part of my code in below image.
As I commented in code, till the line - 314 the code is working fine means I am able to add a "text box" to my canvas (just for testing) then I am calling a function "appendCell(column1_data, i)" to add column values as "options" in my selection box.
but when I am trying this code and selecting a column for my select box it is not adding any options and continuously showing process icon.
At line - 328 I have also tried a static value instead of "cellText" like "this.$(select2).append(new Option("demoText","demoText",true,true));" but this one is also not working.
According to me the problem is in line - 327 "var cellText = column_data.formattedData[i];".
I think the data is coming in some other format like a full row/column and I need to split this by each value and then it will get added as options.
please help me out if you got any idea about this and suggest the hint.
Thanks.
