Adding image to all cells of a column in Ultragrid

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
 
N

Nassos

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
 
R

Ramesh(techie)

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
 
N

Nassos

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top