Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Which component to use scenarios like this ?

    Hi, I m using smartgwt 12 and platform : chrome.
    The above set of data is generated dynamicall y as a result set. We can achieve this using a smartgwt grid. But is there direct way to do this with two columns of results as shown in the UI design?

    Click image for larger version  Name:	image_12220.png Views:	1 Size:	51.7 KB ID:	258960
    Last edited by AnutharshaSelvarasa; 8th Aug 2019, 23:18.

  • #2
    Assuming the order is like:

    Code:
    1 2
    3 4
    5 6
    Then a TileGrid can render like this.

    If the order is instead:

    Code:
    1 4
    2 5
    3 6
    You can do this two-column display with our ListGrid, but only if you manipulate the data beforehand to combine records, and then use styling to make it appear the way you want.



    Comment


    • #3
      Hi,
      Thank you. Can you please send the smart gwt showcase link for the tilegrid component ?? Or examples to look into

      Comment


      • #4
        Here (SC) or here (SGWT). Just search the showcase for "tile".

        Best regards,
        Blama

        Comment


        • #5
          Hi,
          I m using tile grid to achieve this component. It seems working fine. But, how can we select multiple records from this grid without using keyboard selection. (i.e cmd + mouseclick can select multiple records) as it showing in the attachment given above ?

          Comment


          • #6
            Not sure we understand. The TileGrid automatically supports contiguous selection via Shift and discontiguous via Cmd (Mac) or Ctrl (Windows). The examples show this.

            Comment


            • #7
              For example, In listgrid we can select multiple records using checkbox likewise is there anyway to do multiple selection in titlegrid without using keyboard ??

              Comment


              • #8
                There is not currently a built-in way to multi-select tiles solely from the mouse - standard keyboard and mouse combinations, as we cover above, are the only way.

                You could of course add a checkbox interface to your own tiles and manipulate the TileGridís selection through standard selection APIs such as selectRecord().

                Comment


                • #9
                  Hi,

                  Thank you

                  Comment

                  Working...
                  X