Forum Discussion
Do you have an official feedback from support?
"TypeError" messages are super typical for 12SP18. Have seen similar error messages many times. In the newer Innovator versions Aras has real trouble with federated/poly-like properties which are filled on-demand by code. Big fun!
Possible solution: Remove the a target property of your Method in the ItemType and then add it again
If you are an subscriber: Ask for SI-031239 for a possible codetree solution, but it didn´t resolve the root cause. But it´s helpful when other people report similar issues.
In addition: Where did you find "setEditType" thing? Is your code based on a community project? According to my collection of useful stuff it´s outdated since 10SP4. Not sure, but this is a replacement I found:
//Since 10 SP4 : Change the way to bind a comboBox on a cell
var field = gridApplet.columns_Experimental.get(colNumber, "name");
gridApplet.columns_Experimental.set(field, "editType", "FilterComboBox");
gridApplet.columns_Experimental.set(field, "comboList", listOfValues, listOfLabels);
Hi Angelap
Unfortunately, it doesn't work
- angela4 years agoCatalyst II
I myself use a relationship dropdown filled by an 'onEditStart' Method and it works pretty normal in 12SP18 with above code. I don´t use the .setEditType(2); code line.
Maybe add more safety features? I do a check on the colNumber (shall not be invalid) and a if (!gridApplet) { return; }
But as mentioned before, could be a general SP18 issue. Have you tried to remove and add your target property used for the dropdown?
Otherwise: Ask Aras [emoticon:c4563cd7d5574777a71c318021cbbcc8] .
- Swathi_Murali4 years agoIdeator I
Hi Gopi,
Can you please let know how the issue was finally solved?
Iam getting the same error while dynamically trying to load a list control in grid cell.
Thanks!!!