BoldDesk®Customer service software with ticketing, live chat & omnichannel support, starting at $99/mo for unlimited agents. Try for free!
Hi Andy Garu,
Thanks for your interest in Syncfusion products.
Query: How can I define a
custom font for the whole header row or column? |
I could not able to reproduce the reported code doesnot
respond to the particular column font. The code specified from your side
itself can make the font of the particular column to be bold. Please refer to the following image. I have provided the sample in latest Syncfusion version so
it might cause problems if you use older version due to unavailability of advanced
support provided in latest version. So please provide me the version you are
using, so that I can provide sample in that version. |
Please let me know if you have any other concerns.
Regards,
Arun.
Hi Andy Grau,
Thanks for the update.
Query: sample for the 7.3
versionsample for the 7.3 version |
I have modified the sample in the 7.3 version, as I said
in my last update the below code given itself will make the font to appear as
bold for particular columns text. Me.gridControl1.Model.ColStyles(1).Font.Bold = True
Me.gridControl1.Model.ColStyles(2).Font.Bold
= True Snap: Please refer to the following sample and let me know if
the it help. If the issue is not solved Please give me a sample file to
reproduce the reported behavior. |
Please let me know if you have any other concerns.
Regards,
Arun.
Hi Andy,
Thanks for the update.
Yes I could able to reproduce the reported in your version. So
to set the header text font to bold you can handle the PrepareViewStyleInfo
event.
this.gridControl1.PrepareViewStyleInfo
+=
Please let me know if you have any other concerns.
Regards,
Arun.
Hi Andy,
Thanks for the update.
Here is the codesnippet for the reported behavior in VB.
Code Snippet:
Private Sub grid_PrepareViewStyleInfo(ByVal sender As Object, ByVal
e As GridPrepareViewStyleInfoEventArgs)
if e.Style.CellType == GridCellTypeName.Header Then
e.Style.Font.Bold = true
End If
Please use the above code making the header text to be bold,
and let me know if you have any other concerns.
Regards,
Arun.
Hi Andy,
Thanks for the update.
We are glad to hear that the reported issue is solved in
your side. If you have any other queries please create any new Incident/Forum.
Regards,
Arun.