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

Reply
 
Thread Tools Search this Thread
  #1  
Old 1st Jul 2009, 20:22
Ravindra_Bhadgavkar Ravindra_Bhadgavkar is offline
Registered Developer
 
Join Date: Jul 2009
Posts: 7
Default Does Smart Client provide <fieldset> & <legend> tag? how we can use it..

We want to use <fieldset> & <legend> tags. We tried to create it using isomatric, however getting error . it seems smart client didn't provide it. Don't know why this tag is not available.. We tried using "isc.HTMLFlow.create", but its not a correct way. . Please suggest any other way...

Last edited by Ravindra_Bhadgavkar; 1st Jul 2009 at 20:26..
Reply With Quote
  #2  
Old 2nd Jul 2009, 18:25
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,516
Default

Use:

Code:
            isGroup:true,
            groupTitle:"title for group",
This works on any Canvas, including DynamicForm.
Reply With Quote
  #3  
Old 3rd Jul 2009, 00:03
claudiobosticco claudiobosticco is offline
Registered Developer
 
Join Date: Sep 2008
Posts: 350
Default

very nice! what about styling?
Reply With Quote
  #4  
Old 3rd Jul 2009, 00:44
Ravindra_Bhadgavkar Ravindra_Bhadgavkar is offline
Registered Developer
 
Join Date: Jul 2009
Posts: 7
Default can you please elaborate more...

I tried folowing code.. however didin't work.. :(

isc.DynamicForm.create({
height: 30,
align: "center",
isGroup:true,
groupTitle:"title for group",
})

can you please elaborate more on example. .
Reply With Quote
  #5  
Old 3rd Jul 2009, 00:49
claudiobosticco claudiobosticco is offline
Registered Developer
 
Join Date: Sep 2008
Posts: 350
Default

for me it's working, which version of Smartclient are you using?

and pay attention to the last (unnecessary) comma, especially if you're using internet explorer.
Reply With Quote
  #6  
Old 3rd Jul 2009, 01:13
Ravindra_Bhadgavkar Ravindra_Bhadgavkar is offline
Registered Developer
 
Join Date: Jul 2009
Posts: 7
Default

thanks for reply. ..

I tried again following code..this time no syntax error.. however coudn't get display of FieldSet tag.. :(

isc.DynamicForm.create({
width: 800,
ID:"pageTitle",
align:"left",
isGrouped: true,
groupTitle: "Test",
width:500, height:224,
showEdges:true, border:"0px",

fields:[
{ name: "Languages1"},
{ name: "Languages"}
]}),


can you please correct my code .. and post again..
Reply With Quote
  #7  
Old 3rd Jul 2009, 01:17
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,516
Default

check your code against what you posted earlier - you've changed a propertyname
Reply With Quote
  #8  
Old 3rd Jul 2009, 01:22
Ravindra_Bhadgavkar Ravindra_Bhadgavkar is offline
Registered Developer
 
Join Date: Jul 2009
Posts: 7
Default

is it about "isGrouped" ? . ..
I tried with "isGroup" also..
still.. no result..

can you please post example code for "FieldSet" ..
Reply With Quote
  #9  
Old 3rd Jul 2009, 01:30
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,516
Default

your code works if you use isGroup:true and remove the trailing comma
Reply With Quote
  #10  
Old 3rd Jul 2009, 01:57
claudiobosticco claudiobosticco is offline
Registered Developer
 
Join Date: Sep 2008
Posts: 350
Default

and what about styling? I found groupBorderCSS, but for the label?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved