Datagrids only have two line styles: None and Solid...
is there a way to display a table in a datagrid with horizontal or vertical
lines only ???
what about defining a custom DataGridTextBoxColumn class and
overloading/overriding its Paint Method ??
I think it can be done in this way but I don't figure out how....
Thanks in advance !!!
Nicolas L.
Cor Ligthert - 20 Dec 2004 07:56 GMT
Nicolas,
There is such a lot possible with datagrids, while there are as well more
extended dagagrid controls.
Have a look at these links.
Complete very nice controls
<http://www.knowdotnet.com/articles/kdngrid.html>
<http://dotnet.leadit.be/extendeddatagrid>
Faqs
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp
http://www.microsoft.com/belux/nl/msdn/community/columns/jtielens/datagrid.mspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html
/wnf_CustDataGrid.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformsdatagridtextboxcolumnclassformattopic.asp
Format
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbtchformattingwindowsformsdatagridvisualbasicprimer.asp
DateTimePicker (sample how to do it yourself as you ask)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemwindowsformsdatagridcolumnstyleclasstopic.asp
I hope this helps a little bit?
Cor
"Nicolas L." <jnlinale@yahoo.com>
> Datagrids only have two line styles: None and Solid...
>
[quoted text clipped - 8 lines]
>
> Nicolas L.
Brian Schwartz - 21 Dec 2004 22:42 GMT
> Datagrids only have two line styles: None and Solid...
You might also check out the free grid at my website (below) which offers
several options for line styles between rows and columns.
Brian

Signature
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Building better tools for developers - Be part of it!