Announcement

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

    ListGrid Scrolling Support for Android Device

    Hi

    I have developed an Application for Android(3.0.1) on XOOM using the Smartgwt 2.5 nightly build inheriting the mobile theme. There is a scrolling issue on the ListGrid. I can't find an option to scroll or drag the rows on the grid.

    The code I use for creating a ListGrid

    ListGrid grid = new ListGrid();
    grid.setWidth(400);
    grid.setHeight(200);
    grid.setCellHeight(30);
    grid.setScrollbarSize(30);
    grid.setCanDrag(true);

    ListGridField nameField = new ListGridField("name", "Room", 130);
    ListGridField insValField = new ListGridField("insval", "Ins Val", 70);
    ListGridField totalVolField = new ListGridField("tolvol", "Tot Vol", 90);
    ListGridField quantityField = new ListGridField("qty", "#", 50);

    grid.setFields(new ListGridField[] { nameField, quantityField, insValField, totalVolField });

    Could you please suggest an option to implement scrolling functionality for the ListGrid?

    Thanks

    Arvind M

    #2
    No option needed, the automatic behavior is drag scrolling, but don't enable drag and drop or you've got a conflict for what should happen on the finger drag gesture.

    Comment


      #3
      I removed the drag and drop setting properties and still no luck and I couldn't scroll in Xoom(Android). It scrolls well in IPad.

      Could you please let me know, is there anything I have to do to make the rows scrollable by dragging the rows or increase the scrollbar size.

      cheers

      Arvind M

      Comment

      Working...
      X