Announcement

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

  • Isomorphic
    replied
    There's a separate forum thread for this issue here:
    https://forums.smartclient.com/forum...s-alot-of-data
    We're looking at it and will be following up there when we have more information

    Regards
    Isomorphic Software

    Leave a comment:


  • Blama
    replied
    Hi preeti_kanyal

    you mean manually drag and drop increasing the height? Why would you want to do that?
    W.r.t. my post: It is not fixed. Did you try the code?

    Best regards
    Blama

    Leave a comment:


  • preeti_kanyal
    replied
    My requirement is that when i rsize the picklist vertically its height should automatically increase.
    I dont want to fix the pickListHeight, its taking default height i.e,300px.

    Leave a comment:


  • Blama
    replied
    Hi preeti_kanyal

    I don't get it. You want a pickList with maximum height if needed and smaller otherwise, depending on the data, correct?
    See here and try the code in the showcase with value: 100 and value: 10 for the SelectItem criteria. This does exactly what's needed, and no need for manual resizing, correct?

    Best regards
    Blama

    Leave a comment:


  • preeti_kanyal
    replied
    Hi Blama,

    I didnt set the setPickListHeight() becuase on resizing it will get changed

    Leave a comment:


  • Blama
    replied
    Did you already try setPickListHeight()?

    Leave a comment:


  • preeti_kanyal
    replied
    Hi,
    I am trying to do only vertical resizing on my pickList. In this PickList is getting resized but the pickListBody is not getting resized
    There is huge data in picklist with scrollbar on.

    I have used the same above proerties as mentioned ablove.

    Attaching screenshot. Can someone please help.
    Attached Files

    Leave a comment:


  • awang
    replied
    Figured out the drag resize issue, must set pickListProperties.setCanResizeFields(true) even though the default is true.

    But still haven't figured out why setting the setAlternateRecordStyles(true) does not seem to show alternate rows highlighted.

    Leave a comment:


  • awang
    replied
    Hello agian,

    I changed to define my own ListGrid then call setPickListProperties as follows:

    ListGrid pickListProperties = new ListGrid();
    pickListProperties.setSelectionType(SelectionStyle.SINGLE);
    pickListProperties.setAlternateRecordStyles(true);
    pickListProperties.setShowHeader(true);
    pickListProperties.setCanDragResize(true);

    ListGridField fNameField = new ListGridField("firstName", "First Name", 100);
    fNameField .setCanDragResize(true);

    ListGridField lNameField = new ListGridField("lastName", "Last Name", 100);
    lNameField .setCanDragResize(true);

    final SelectItem userSelectItem= new SelectItem();
    userSelectItem.setTitle("User);
    userSelectItem.setPickListProperties(pickListProperties);
    userSelectItem.setPickListFields(fNameField , lNameField );

    But the drop down for the userSelectItem is still not able to drag resize, it does not even show the "resize" cursor when hovering over the edge of the column header. Also, setting the setAlternateRecordStyles to true does not seem to show alternate rows highlighted.

    Any idea why resize and setAlternateRecordStyles are not working this way?

    Attached is the screen shot.
    Attached Files

    Leave a comment:


  • Be able to drag resize on listGridFields under SelectItem

    Hello,

    I have a SelectItem to display two ListGridFields say FirstName and LastName. When click, the dropdown list shows the 2 columns but I want to be able to grab a column border between the 2 columns and change the width of the 2 columns. Is this possible ?

    I tried setCanDragResize(true) for both ListGridFields but still not able to drag resize.

    Here's what I am using:
    GWT 2.4.0
    smartgwt 3.0
    Firefox 10.0.2

    Thanks,
    Annie
Working...
X