Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / April 2005

Tip: Looking for answers? Try searching our database.

How to display row header caption in the DataGrid control?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 05 Apr 2005 18:55 GMT
Does anyone know if there is some way to set the Row Header Caption in a
DataGrid or DataRow? I have no problem setting the column name through the
DataColumn class using Caption {get; set;}. However, I can't seem to find
the equivalent for the DataRow class.

Thanks
John J. Hughes II - 05 Apr 2005 19:10 GMT
You might try the below or search row header in the form:

http://www.syncfusion.com/Support/forums/message.aspx?MessageID=7222

Regards,
John

> Does anyone know if there is some way to set the Row Header Caption in a
> DataGrid or DataRow? I have no problem setting the column name through the
> DataColumn class using Caption {get; set;}. However, I can't seem to find
> the equivalent for the DataRow class.
>
> Thanks
Steve - 05 Apr 2005 19:39 GMT
Thank you for your response.

However the link you mentioned discuss extended version of DataGrid control
sold by that company. Standard MS DataGrid class doesn't have Binder property.

Could you comment.

Thanks

> You might try the below or search row header in the form:
>
[quoted text clipped - 9 lines]
> >
> > Thanks
John J. Hughes II - 06 Apr 2005 02:01 GMT
Oh, I used that website a lot a while back but they change it.  I have my
own custom data grid so in concept it's extended but I never did anything to
the row header.  Most of my changes have been to the data gird itself in
regards to displaying data.

I think you would have to handle panting the grid yourself to add text which
would be rather a pain.

My suggestion would be to hide the row header and create a custom grid
column that looked like the row header.  You could then select the column on
click if you want.  Sort of depends how many of the standard features of the
row header you need.

You might also be able to replace the icon on the row header but you are
very limited on size that way.

Regards,
John

> Thank you for your response.
>
[quoted text clipped - 23 lines]
>> >
>> > Thanks

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.