Display 1 data row as multiple datagrid rows

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Display 1 data row as multiple datagrid rows

    If a row of data in a dataset has a lot of columns the row displaying the
    data in a datagrid will run way off the screen. What I'd like to do is
    display a row of data over several datagrid rows so the user doesn't have to
    scroll horizontally. Essentially, I want to wrap a datagrid row (not text in
    individual columns) with as much control as possible. Make sense?

    While this seems simple enough on the surface, I can't figure out how to do
    it and the scant information I've seen on the Internet says it can't be done
    without buying a 3rd party datagrid -- Infragistics' NetAdvantage was
    recommended. To make a long story short, I called them and it isn't clear
    their NetAdvantage product supports this either.

    In the past, I've done this building HTML tables on the fly but my team at
    work wants to standardize on using the datagrid since most of our developers
    come from a VB6, not a web development, background.

    Thanks for the help!


    Craig Banks Guest

  2. Similar Questions and Discussions

    1. how to display data in 3 columns by 4 rows format
      All, I will be eternally greatful if someone can provide snippet of code, URL or reference material that shows how to display data in a "n...
    2. Howto display an ASP.net datagrid rows as columns and vice versa?
      Hi I want to display my datagrid with the columns horizontal and rows vertical, so just the other way around. For example instead of : name ...
    3. Multiple rows of data into 1 row
      I have a Pt ID field which is a unique number. I have a S_field which is an ID # that lines to the Pt ID. There are multiple Pt ID's for one...
    4. Edit multiple rows of a datagrid (ASP 1.1)
      Hi Silly question here I guess..... I know I can use an EditCommandColumn to edit a particular row in a datagrid: ...
    5. Multiple Header rows in datagrid
      I have a need for multiple header rows in a datagrid. One header row contains the column headings, the next header row contains html input fields,...
  3. #2

    Default Re: Display 1 data row as multiple datagrid rows

    "Craig Banks" <ban01@co.henrico.va.us> wrote in message
    news:eNZpac89DHA.4084@tk2msftngp13.phx.gbl...
    > If a row of data in a dataset has a lot of columns the row displaying the
    > data in a datagrid will run way off the screen. What I'd like to do is
    > display a row of data over several datagrid rows so the user doesn't have
    to
    > scroll horizontally. Essentially, I want to wrap a datagrid row (not text
    in
    > individual columns) with as much control as possible. Make sense?
    >
    > While this seems simple enough on the surface, I can't figure out how to
    do
    > it and the scant information I've seen on the Internet says it can't be
    done
    > without buying a 3rd party datagrid -- Infragistics' NetAdvantage was
    > recommended. To make a long story short, I called them and it isn't clear
    > their NetAdvantage product supports this either.
    >
    > In the past, I've done this building HTML tables on the fly but my team at
    > work wants to standardize on using the datagrid since most of our
    developers
    > come from a VB6, not a web development, background.
    >
    > Thanks for the help!
    I would suggest using a datalist instead of a datagrid.
    You will lose the advantage of the datagrid to generate all
    columns automatically, so you'll need to build templates.
    Sorting and paging will also require a little bit more work
    with a datalist.

    --

    Jos Branders


    Jos 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