Data Grid Paging Problem

asp.net Jordan
  • 14 years ago

    Hi,
    I have a datagrid that has page indexing of 8 rows.
    when the number of rows is 2 or 3 three the height of row get larger .
    but when they are 8 it looks good.

    does anyone know how i can make the datagrid row's height size the same when the number of rows is smaller than the page indexing size??




     

  • 14 years ago

    Hi!

    In datagrid property builder, goto format tag. There you can specify the width of the each column in datagrid.

    Regards

    Raja.V

  • 14 years ago

    Hi Boldy,

    Have you specified height for the datagrid. I am not talking about individual row height. If u have specified the height for the whole grid itself then the grid will maintain the specified height and will adjust the rows within that height. In such cases for lesser rows returned the space between the rows will increase.

    Hope this helps.

     

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is anticipated with distaste, performed with reluctance, and bragged about forever.” - Dan Kaminsky