Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: click event of grid elements

$
0
0
Re: click event of grid elements
FoxInCloud
Re: click event of grid elements
02/24/2012
12:28:04 PM
3FV0QQ3RR Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None
Tuvia,
Please explain which result you intend to achieve on both client and server.
thank you,
thn

I change in js validation the value of the cell in the grid, but how do I get the cell value to sync back up to the underlying data? I thought the interactivechange would do this. I also tried using Foxmethod to call the refresh. I do something like this:

function Foo1 (ogrid)
if (xx=blah)
{ogrid.setCellValue( col, row, value)
...
...
FoxInCloud.MethExec ( 'refresh', thecolumnwiththevalue , 'refresh')


Think I got it.


Thought I had found the problem, but seems not.

The generated onclick is the onclick from the awgrd. No matter what I cannot get a special onclick created during html generation as I can for other objects. The issue seems specific to the grid, perhaps to this level object.

Just checked code, should work
What do you get in the onclick="" attribute value?


I cannot in the click of a grid element use the standard:

if thisform.wlhtmlgen return "javascript stuff" endif

because that has no effect on grid elements. How can I affect the grid events?


-- thn (FoxInCloud)


Viewing all articles
Browse latest Browse all 10393

Trending Articles