Results 1 to 2 of 2

Thread: Set different Field inot different Row.

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Vote Rating

    Default Set different Field inot different Row.


    We are using sencha gxt 3.0.0 beta version.

    We want to set Textfield into first row, Combobox into second row, Date field into Third row into same column.

    Can any one guide me?

    Thanks in advance,

  2. #2
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Redwood City, California
    Vote Rating


    Grids are designed to represent individual data entries as rows and attributes of those entries as columns. As a result, we don't directly support the use case of having different cells to render individual rows.

    Consider using multiple HorizontalLayoutContainers to have your components line up in columns when the HorizontalLayoutContainers are stacked. This allows you to have your components line up in a tabular look without using an actual grid.

    If you're sure this is what you want to do, consider writing a custom cell that renders differently depending on the row being rendered. Your cell should implement the GWT Cell interface, which allows most methods to receive a Context object. This Context object will have the index of the row, which should allow you to do whatever row-specific substitutions are necessary. However, this is very unlikely to be what you want to do.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts