Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Dear friends,

 

I am using table stlyes to display datagrid(windows forms).

In that grid i am aligning some columns to right.

Problem is that column headers are also aligning to right and last charecter in column header is not visible clearly, its covering under grid line.

Is there any way to prevent column header from aligning to right,

and only data to align right.

or make the header clearly visible.

 

 

Thanks.

Posted
As a quick hack, I usually append " |" to the .HeaderText to make the header move off the right-hand vertical column seperator

 

B.

 

Hey

I too did the same.

but my grid displays master child relations and when

viewing parent rows the column headers will be displayed with the appened "|".

what to do now.

 

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...