[email protected] - Thursday, August 5, 2010 9:18 PM:
After creating a client-side Method using JavaScript..such as
var qty = gridApplet.cells(relationshipID,colNumber).GetValue();
if (qty>0)
{
var partItem = top.aras.dom.selectSingleNode(
'//Item[@id="' + relatedID + '"]');
var bomItem = top.aras.dom.selectSingleNode(
'//Item[@id="' + relationshipID + '"]');
var desc = top.aras.getItemProperty(partItem,'description');
var charac = desc.substring(0,1);
var refDes = charac + '1-' + qty;
top.aras.setItemProperty(bomItem,'ref_des',refDes);
gridApplet.cells(relationshipID,3).SetValue(refDes);
}
And Then I click debug tag and check syntax button, but a long time has gone, the below area also printing as"checking syntax..." How is it working?
In addition, how to show a problem picture in my post in this forum.
Thank you all. A new programming student...
DavidSpackman - Wednesday, August 11, 2010 2:17 AM:
I have this problem too
If the window is full screen and I restore the window, I can see the result from button press.
Or if it's not full screen and I maximise the window the result is shown.
See if this works for you.
Try the Insert media button in the toolbar when you post messages!
Brian - Wednesday, August 11, 2010 6:22 AM:
It appears to be a screen refresh issue.
There is definitely something odd going on here. If you run the syntax check and then maximise and restore the tab will update and from then on it seems to react properly for that method until you close it and open it again that is.
Cheers,
Brian.
[email protected] - Wednesday, August 11, 2010 11:26 PM:
Thank you very much. It works now after I restart Aras Innovator.
[email protected] - Wednesday, August 11, 2010 11:34 PM:
It works,thank you.
I want to ask another question :
There is no color difference in my code editing...
for example,in JavaScript Language the code "var " will be in green color, and the other key words "this, new" also be in appearance of other colors.
But I have the same black color of my codes everywhere. How to configurate my IDE?
Thank you..