smartgwt inline text plus form items -


I am trying to setup a template form using smartgwt which adds text plus form item, but I do not know the smartgwt structure is most suitable, this is what I am trying to do:

  1. Basically there are some predefined long text,
  2. Some predefined text At places, enter the form widget, like combo box or date picker.
  3. The entire structure should be presented to the user in the form of continuous text with options to select on Cambodia, date, etc.
  4. The text must be wrapped, end of the lines of the element (a paragraph container) containing
  5. Form input (combobox, etc.) in the form of a front of the last text at the same line Should flow.

(I will post an image for clarification, but unfortunately I do not have enough reputation)

The problem I am experiencing with SmartGT forms is That they are presented in the table structure using the rows to the user and columns which are not consistent with the concept of continuous text. My text is wrapped around the table of the table and the form of the form Rwah is lost.

If I do not set the text to be set then The cell containing, but this paragraph does not wrap the bracket either at the end of the line. It is difficult to use 'Colspan' and 'rowspan' because the size of the text varies for different templates.

Any ideas about how to implement it?

Please take a look at

  • / li>

  • Try the sample code below:

      DynamicFirm DynamicForm = New dynamicform (); StaticTextItem textItem = New StaticTextime (); TextItem.setTitle ("Description"); TextItem.setValue ("Very Very Very Very Long Description"); TextItem.setWidth (60); TextItem.setWrap (false); // no wrap textItem.setWrapTitle (wrong); // do not wrap textItem.setClipTitle (true); TextItem.setShowClippedTitleOnHover (true); // Click on the show's title if clip etc. SetClipValue (true); TextItem.setShowClippedValueOnHover (true); // Show value on show if dynamic format .custom items (text item); DynamicForm.setWidth (75); . Adding RootPanel.get () (dynamicForm);  

    Screenshots:

    Enter image details here

    Enter image details here


    Comments

    Popular posts from this blog

    import - Python ImportError: No module named wmi -

    Editing Python Class in Shell and SQLAlchemy -

    c# - MySQL Parameterized Select Query joining tables issue -