Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

jQuery script modifies dom of HTMLFLow, but getContents() gets the old version

$
0
0
Hello,

I'm using smartGWT: v8.3p_2013-12-19/PowerEdition Deployment 2013-12-19

I have a HTMLFlow panel, containing some <table> and a jquery script that modifies this table (re-orders rows a bit).

Afterwards, i'd like to save the -modified- HTML in the HTMLFLow element, to a datasource.

But a call to getContents() gives me the old version back (ie. whatever the state was when i called setContents(), _before_ jquery did its stuff).

Is there a way to work around this, or to 'refresh' the HTMLFLow with the current status the browser DOM has, such that a call to getContents() will give me the current situation?

If not; what would be a good way to achieve what I want?

Viewing all articles
Browse latest Browse all 4756

Trending Articles