Results 1 to 5 of 5

Thread: color in DataGrid

  1. #1
    Guest
    Hi all,

    i've been trying to put some color in individual rows/columns of the DataGrid control.

    Sofar i havent had any luck, it seems somewhat strange to me that this is not possible.

    Has anybody ever succeeded in this?

    I want to avoid building my own custom control and subclassing a DataGrid just to get colors..

    Thanx to all

  2. #2
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535
    What is DataGrid control. I am a newbie.

  3. #3
    New Member
    Join Date
    May 2000
    Posts
    8

    Datagrid Colors

    Have you had any luck about placing colors on individual rows on a datagrid? I have managed to use DataGrid1.SelBookmarks.Add DataGrid1.RowBookmark(i) to highlite an area but this is not what I want.

    Any ideas?

    Pierre

  4. #4
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    hi
    I'm pretty sure that the DataGrid control doesnt support cell, row or column colours. The newer msFlexgrid and MSHFlexgrid allow colouring of individual elements using the CellBackColor / ForeColor properties. Do you need to stick with the data grid or could u change to one of these controls?
    Regards
    Stuart
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  5. #5
    New Member
    Join Date
    May 2000
    Posts
    8

    Colors

    I can change and will try this. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width