Hello Support Team,
I am using SmartGWT5.1 Trial version to use Diagramming, I picked your sample Example file sampleDrawingData.xml, which used to draw in pane. Suppose, When I double-click any of the rounded rectangular box, a text box is displayed to write and filled values are set as title . In below example added title as "This Tile is Text".
So, I want to ask that is there any way to replace that title TextBox to COMBOBOX or SelectItem which could store some pre-Loaded values from DB and when user choose any of the them and it can be set as title?
<DrawRect>
<left>4</left>
<top>14</top>
<width>72</width>
<height>62</height>
<rounding>0.25</rounding>
<lineWidth>1</lineWidth>
<fillGradient ref="rect"/>
<shadow>
<color>#333333</color>
<blur>2</blur>
<offset x="1" y="1"/>
</shadow>
<shapeData><m00>1</m00><m01>0</m01><m02>203.5</m02><m10>0</m10><m11>1</m11><m12>96.5</m12></shapeData>
<title>This Tile is Text</title>
<keepInParentRect>true</keepInParentRect>
<ID>DrawRect10</ID>
</DrawRect>
I hope, I am clear in putting my requirement. If you need any further clarification, Please let me know.
Rajeev Ranjan
I am using SmartGWT5.1 Trial version to use Diagramming, I picked your sample Example file sampleDrawingData.xml, which used to draw in pane. Suppose, When I double-click any of the rounded rectangular box, a text box is displayed to write and filled values are set as title . In below example added title as "This Tile is Text".
So, I want to ask that is there any way to replace that title TextBox to COMBOBOX or SelectItem which could store some pre-Loaded values from DB and when user choose any of the them and it can be set as title?
<DrawRect>
<left>4</left>
<top>14</top>
<width>72</width>
<height>62</height>
<rounding>0.25</rounding>
<lineWidth>1</lineWidth>
<fillGradient ref="rect"/>
<shadow>
<color>#333333</color>
<blur>2</blur>
<offset x="1" y="1"/>
</shadow>
<shapeData><m00>1</m00><m01>0</m01><m02>203.5</m02><m10>0</m10><m11>1</m11><m12>96.5</m12></shapeData>
<title>This Tile is Text</title>
<keepInParentRect>true</keepInParentRect>
<ID>DrawRect10</ID>
</DrawRect>
I hope, I am clear in putting my requirement. If you need any further clarification, Please let me know.
Rajeev Ranjan
Comment