I'm using version 10.5 with grid components in desktop feature pack installed. I'm trying to put data from a grid row into a desktop global variable. I've closely followed the videos:
https://www.youtube.com/watch?v=vwqw2OVMu2k
http://www.youtube.com/watch?v=7ytuLQk1Eqo
Following the above videos I used these:
====================================================
On click event [Javascript - Attribute]:
callXbasic({Grid.RowNumber});
JavaScript Functions Declarations:
function callXbasic(rowNum) {
var get_parc = {grid.object}.getValue('G','PARC_CHR',rowNum);
clientSideXbasicFunction(get_parc);
}
Client-Side XBasic:
function clientSideXbasicFunction( varname as c )
ui_msg_box("","hello from xbasic:" + varname)
dim global var1 as c
var1 = varname
end function
====================================================
Followed the instructions on this page and watched the two videos it references:
http://wiki.alphasoftware.com/~alpha...e+Xbasic+V10.5
For the above videos I used these:
====================================================
On click event [Javascript - Attribute]:
myfunction();
Client-Side Xbasic Functions tab:
function myfunction() as v
dim msg as c
msg = "This is Xbasic"
ui_msg_box("Notice",msg)
end function
====================================================
No matter which methods I use I keep getting this error:
Error: The value of the property "[Function Name]" is null or undefined, not a Function object
Error.jpg
I've been working on this for days...any help would be much apprectiated.
https://www.youtube.com/watch?v=vwqw2OVMu2k
http://www.youtube.com/watch?v=7ytuLQk1Eqo
Following the above videos I used these:
====================================================
On click event [Javascript - Attribute]:
callXbasic({Grid.RowNumber});
JavaScript Functions Declarations:
function callXbasic(rowNum) {
var get_parc = {grid.object}.getValue('G','PARC_CHR',rowNum);
clientSideXbasicFunction(get_parc);
}
Client-Side XBasic:
function clientSideXbasicFunction( varname as c )
ui_msg_box("","hello from xbasic:" + varname)
dim global var1 as c
var1 = varname
end function
====================================================
Followed the instructions on this page and watched the two videos it references:
http://wiki.alphasoftware.com/~alpha...e+Xbasic+V10.5
For the above videos I used these:
====================================================
On click event [Javascript - Attribute]:
myfunction();
Client-Side Xbasic Functions tab:
function myfunction() as v
dim msg as c
msg = "This is Xbasic"
ui_msg_box("Notice",msg)
end function
====================================================
No matter which methods I use I keep getting this error:
Error: The value of the property "[Function Name]" is null or undefined, not a Function object
Error.jpg
I've been working on this for days...any help would be much apprectiated.
Comment