Adding image to all cells of a column in Ultragrid

  • Thread starter Thread starter techie
  • Start date Start date
T

techie

Hi,
I am using an UltraGrid of Infragistics Net Advantage 2005 in
my application.
I need to add an image to all cells under a column.I need to
have image and text
in the same cell.
Can any one help me in doing this?

thanks in advance
 
Hello techie,
first of all you must post infragistics issuies or questions in ifragistics
newsgroup, news.Infragistics.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLayout.Bands[0].Column["ColName"].Appearence.Image!!
OR
use the initializeRow event of the grid and put the image to the appearence
cell of each row, this will give you the option in later stage of your
project to put different pictures as well!!
hope that helped
Nassos
 
Hi Nassos,
thanks a lot for your help.
I am now able to add Images to cells in a column.
I'll be more happy if you could help me to add rows to
an ultragrid without using a datasource either at design time or runtime
as I am new to this ultragrid.


regards,
Ramesh.



Nassos said:
Hello techie,
first of all you must post infragistics issuies or questions in ifragistics
newsgroup, news.Infragistics.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLayout.Bands[0].Column["ColName"].Appearence.Image!!
OR
use the initializeRow event of the grid and put the image to the appearence
cell of each row, this will give you the option in later stage of your
project to put different pictures as well!!
hope that helped
Nassos

techie said:
Hi,
I am using an UltraGrid of Infragistics Net Advantage 2005 in
my application.
I need to add an image to all cells under a column.I need to
have image and text
in the same cell.
Can any one help me in doing this?

thanks in advance
 
Sure Ramesh,
this is the way to add a row to the ultraWinGrid:
UltraGridRow row = this.gridParoxes.Rows.Band.AddNew();

hope that helps

Ramesh (techie) said:
Hi Nassos,
thanks a lot for your help.
I am now able to add Images to cells in a column.
I'll be more happy if you could help me to add rows to
an ultragrid without using a datasource either at design time or runtime
as I am new to this ultragrid.


regards,
Ramesh.



Nassos said:
Hello techie,
first of all you must post infragistics issuies or questions in ifragistics
newsgroup, news.Infragistics.com,
Now you can do what you want simply by puting the image to the
grid.DisplayLayout.Bands[0].Column["ColName"].Appearence.Image!!
OR
use the initializeRow event of the grid and put the image to the appearence
cell of each row, this will give you the option in later stage of your
project to put different pictures as well!!
hope that helped
Nassos

techie said:
Hi,
I am using an UltraGrid of Infragistics Net Advantage 2005 in
my application.
I need to add an image to all cells under a column.I need to
have image and text
in the same cell.
Can any one help me in doing this?

thanks in advance
 
Back
Top