How to show added on visible part of data grid.

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default How to show added on visible part of data grid.

    hi, I met a problem.

    There is a data grid, I can add new item on it. At beginning, there are little
    items on data grid, so you can see all of them. But when there are more items,
    so that you must move rollbar of data grid to view a item which is not visible
    on data grid. Then if you add a new item at the bottom of data grid, you must
    move rollbar to bottom to view it. How to show it all the time when I add it,
    just looks like anthor in html.

    beg for help, thanks very much.

    leimin3113591 Guest

  2. Similar Questions and Discussions

    1. trying to create data grid on the fly, with templated columns, and then updating all rows in the grid
      Hi, Please help, I'm trying to create data grid on the fly, with templated columns, for editing, and then updating all rows in the grid on one...
    2. Flex 3 advanced data grid grouping, show info with tree
      Hi, Sorry for strange title, some times hard to sum up in one sentence. I have a database with annotations (notes) on a proof. Each note as a...
    3. show the nested table as a column and bind it to data grid
      Hi I am using the XML that is hierarchial and when I load the XML into dataset and bind the dataset to datagrid, I was not able to see the low level...
    4. how to show part of a field?
      I have a web page with messages. I want to show the list of the messages only with part of them, for example the first 30 letters/characters. Now...
    5. data grid not visible
      You can create a dataset full of empty spaces and then have the datagrid uses that as its datasource. The code below creates a dataset on the fly...
  3. #2

    Default Re: How to show added on visible part of data grid.

    After you add your row, call:
    myDataGrid.vPosition = myDataGrid.dataProvider.length;

    This will scroll the datagrid to make the last row visible.

    Tracy
    ntsiii Guest

  4. #3

    Default Re: How to show added on visible part of data grid.

    It works fine, thanks.
    leimin3113591 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139