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

Reply
 
Thread Tools Search this Thread
  #1  
Old 26th Mar 2012, 06:28
acarur01 acarur01 is offline
Registered Developer
 
Join Date: Dec 2008
Posts: 1,413
Default Dynamic Form canEdit does not work!

With the sample, you'll notice that calling setCanEdit on the form does not affect the text item - boolean and date on the other hand works fine.

Code:

isc.DynamicForm.create({
    width: 300,ID:"testForm",
    fields: [
        {title:"Item", type:"text"} ,
        {title:"boo", type:"boolean"},
        {title:"date",type:"date"}

    ]
});

testForm.setCanEdit(false);
Reply With Quote
  #2  
Old 26th Mar 2012, 08:27
acarur01 acarur01 is offline
Registered Developer
 
Join Date: Dec 2008
Posts: 1,413
Default

Using build 8.2p 03-22, tested in Firefox or IE8
Reply With Quote
  #3  
Old 26th Mar 2012, 10:27
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 37,089
Default

We're not reproducing this. You can put focus into the text item (this is expected) but you can't edit the value.
We tested in both Firefox and IE8 with the build you mention
Reply With Quote
  #4  
Old 26th Mar 2012, 10:29
acarur01 acarur01 is offline
Registered Developer
 
Join Date: Dec 2008
Posts: 1,413
Default

oh ok - I guess if the function was setDisabled() then it wouldve suppressed focus.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to align buttons beneath a dynamic form (populated from datasource) kieser Smart GWT Technical Q&A 8 7th Oct 2012 17:26
Dynamic Form inside Dynamic Form bmin Technical Q&A 0 11th Feb 2010 05:11
How to indent of individual form items in Dynamic Form? gauravd Technical Q&A 0 12th Jan 2010 12:05
Dynamic form size and FormItems with setHeight("*") ruk Smart GWT Technical Q&A 4 9th Nov 2009 09:52
How to add a text item to a dynamic form on click of a button? smartnewbie Smart GWT Technical Q&A 1 17th Aug 2009 12:54

© 2010,2011 Isomorphic Software. All Rights Reserved