-1

I want to customize the size of dataGridView cell, how can I do that? iwant to increase the height of cell

Ňɏssa Pøngjǣrdenlarp
  • 38,411
  • 12
  • 59
  • 178
Dev
  • 45
  • 1
  • 12

1 Answers1

0

here is a sample I am using:

    .Grid td { //these are data cells
        background-color: #d7e1e5;
        color: black;
        font-size: 10pt;
        line-height: 200% // Adjust the height here
    }

    .Grid th { //Header cells
        background-color: #007FFF;
        color: White;
        font-size: 10pt;
        line-height: 200% // Adjust the height here
    }
SANM2009
  • 1,918
  • 2
  • 12
  • 30