Go Back   SmartClient Forums > Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 18th Mar 2012, 17:17
asingla asingla is offline
Registered Developer
 
Join Date: May 2010
Posts: 151
Default Updating the form fields selectively after saving the data bound forms?

I have a databound DynamicForm. Update operation for this data source returns the updated object from the server in the response. This updated object is very similar as the form submitted but few properties needs to set as per this object from the server. Nice thing is, it happens automatically. It updates the form values with the updated object received from the server. For few form fields (complex ones using canvas item), I do not want this behavior as those items issues more request to server which is not required. Is there anyway I can find if setValue for these items are called after fetch method or update method?
Reply With Quote
  #2  
Old 13th Apr 2012, 07:25
asingla asingla is offline
Registered Developer
 
Join Date: May 2010
Posts: 151
Default

To solve the above problem, I set some flags to achieve. Now I have another issue. I do override setValue methods to transform the value from the server side to the actual value. Now after update, this method is not called if the form item is of type HiddenItem. For now I changed the type to DateItem and showIf:false.

Is this a bug?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating hidden fields in a list grid ev.kaushik Technical Q&A 13 10th Feb 2014 12:35
SC_SNAPSHOT-2012-01-07_v82p missing files and not working RickBollinger Installation 23 13th Jan 2012 08:42
Manage data states by filling an array pre-display of form data and comparing kuzma Technical Q&A 1 12th Jun 2008 11:05
Accessing data in ListGrid "hidden" fields cberner Technical Q&A 1 29th Apr 2008 10:54
Problems saving and retrieving Data with DMI rvdwalt Technical Q&A 3 13th Feb 2008 08:35

© 2010,2011 Isomorphic Software. All Rights Reserved