Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Datagrid headings

    Check out this article,
    [url]http://www.microsoft.com/india/msdn/articles/CreatingaScrollableDataGridWebS[/url]
    erverControl.aspx?

    --
    Saravana
    Microsoft India Community Star,
    MCAD,SE,SD,DBA.


    "Tracey" <traceywillicombe@hotmail.com> wrote in message
    news:07e401c35066$c88d1000$a001280a@phx.gbl...
    > Hi,
    > Is it possible to fix the headings in a datagrid so that
    > when the user scrolls down the grid the headings are
    > always visible?
    > Thanks in advance,
    > Tracey.

    Saravana Guest

  2. Similar Questions and Discussions

    1. CS3 Headings?
      In CS3 my heading styles (h1, h2, ... h6) do not show up under the styles dropdown. I desparately need to know how to get them to appear, since there...
    2. Datagrid render column headings. ASPX Page Model. Events
      I have written a usercontrol which I drop onto aspx pages in my project, this usercontrol performs changes on the content of various aspx controls...
    3. Headings in the DataGrid Web Control
      I am writing a web-based reporting tool and using a datagrid to display information returned from a database. I am displaying column headings...
    4. Group headings in datagrid
      I have a datagrid of users that displays the company that they work for, their username, type of user. I would like to display the company name...
    5. Sorting in a DataGrid with no headings
      I have got a scrollable datagrid within a Div tag and a fixed header created using an HTML table. I would like to be able to sort the datagrid by...
  3. #2

    Default Re: Datagrid headings

    You have to implement sorting on your own only, since you dont have datagrid
    header. You cant use sorting provided by datagrid. Here is my suggestion
    which you can try,

    1. Convert each column in header to button column or link column.
    2. On Onclick event handler, sort the datasource and bind the datagrid
    again.

    I hope this helps you.

    Thanks
    Saravana

    --
    Saravana
    Microsoft India Community Star,
    MCAD,SE,SD,DBA.


    "Tracey" <traceywillicombe@hotmail.com> wrote in message
    news:0b2901c3510d$470a06d0$a401280a@phx.gbl...
    > Thanks a lot, that works really well.
    >
    > How would you go about sorting columns in a grid like this?
    >
    > Thanks, Tracey.
    >
    > >-----Original Message-----
    > >Check out this article,
    > >[url]http://www.microsoft.com/india/msdn/articles/CreatingaScro[/url]
    > llableDataGridWebS
    > >erverControl.aspx?
    > >
    > >--
    > >Saravana
    > >Microsoft India Community Star,
    > >MCAD,SE,SD,DBA.
    > >
    > >
    > >"Tracey" <traceywillicombe@hotmail.com> wrote in message
    > >news:07e401c35066$c88d1000$a001280a@phx.gbl...
    > >> Hi,
    > >> Is it possible to fix the headings in a datagrid so that
    > >> when the user scrolls down the grid the headings are
    > >> always visible?
    > >> Thanks in advance,
    > >> Tracey.
    > >
    > >
    > >.
    > >

    Saravana 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