Bold in DataGrid Column

I want to make bold datagrid column but partially. Imean I have a colu

Page 1 of 1

2 Replies - 2506 Views - Last Post: 14 June 2009 - 03:15 AM Rate Topic: -----

#1 seraj_NextGen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-June 09

Bold in DataGrid Column

Post icon  Posted 10 June 2009 - 10:19 PM

I want to make bold, datagrid column but partially. I mean I have a column "Name", which contain Firstname and last name. But i want only last name should be bold.
Is This A Good Question/Topic? 0
  • +

Replies To: Bold in DataGrid Column

#2 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 421
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Bold in DataGrid Column

Posted 11 June 2009 - 07:43 AM

You are going to need to either split the name into 2 columns and then you can bold just the last name column. Or make the Name column a TemplateField with a RichTextBox in it and then you can modify just the last name to be bold inside the RichTextBox.
Was This Post Helpful? 0
  • +
  • -

#3 sakhr_99  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 42
  • Joined: 01-March 09

Re: Bold in DataGrid Column

Posted 14 June 2009 - 03:15 AM

if both are stored in one column then do splitting ! as Jayman Suggested split them using space

if every name is stored in a different column then it is a bit easier !.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1