Click here to Skip to main content
15,889,878 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

Is there a way to achieve ms excel 2013 look like datagridview in visual studio ? Im interested if there is a way to use ms office libraries to use such a datagridview in my project. Because i'm building metro look like winforms appliacation and i could not achieve same effects with my datagridview, like cell sellection effect and other cool effects
Posted

1 solution

Hi,

There is no built-in control. To achieve the Excel style you will have to override the method: OnCellPainting. In this method you can set/write the style for column and row header as well as for the datagridview cells.
Otherwise you will have to use external third-party tools.

Regards,

Daniel
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900