Adding image to all cells of a column in Ultragrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • techie

    Adding image to all cells of a column in Ultragrid

    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

  • Nassos

    #2
    Re: Adding image to all cells of a column in Ultragrid

    Hello techie,
    first of all you must post infragistics issuies or questions in ifragistics
    newsgroup, news.Infragisti cs.com,
    Now you can do what you want simply by puting the image to the
    grid.DisplayLay out.Bands[0].Column["ColName"].Appearence.Ima ge!!
    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" <ramesh.net007@ gmail.com> wrote in message
    news:1133253796 .746013.176720@ g44g2000cwa.goo glegroups.com.. .[color=blue]
    > 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
    >[/color]


    Comment

    • Ramesh(techie)

      #3
      Re: Adding image to all cells of a column in Ultragrid

      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" wrote:[color=blue]
      >Hello techie,
      >first of all you must post infragistics issuies or questions in[/color]
      ifragistics[color=blue]
      >newsgroup, news.Infragisti cs.com,
      >Now you can do what you want simply by puting the image to the
      >grid.DisplayLa yout.Bands[0].Column["ColName"].Appearence.Ima ge!!
      >OR
      > use the initializeRow event of the grid and put the image to the[/color]
      appearence[color=blue]
      >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" <ramesh.net007@ gmail.com> wrote in message
      >news:113325379 6.746013.176720 @g44g2000cwa.go oglegroups.com. ..[color=green]
      >> 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
      >>[/color]
      >
      >[/color]



      --
      Sent via .NET Newsgroups

      Comment

      • Nassos

        #4
        Re: Adding image to all cells of a column in Ultragrid

        Sure Ramesh,
        this is the way to add a row to the ultraWinGrid:
        UltraGridRow row = this.gridParoxe s.Rows.Band.Add New();

        hope that helps

        "Ramesh (techie)" <ramesh.net007@ gmail.com> wrote in message
        news:eGLA6nN9FH A.3592@TK2MSFTN GP12.phx.gbl...[color=blue]
        > 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" wrote:[color=green]
        >>Hello techie,
        >>first of all you must post infragistics issuies or questions in[/color]
        > ifragistics[color=green]
        >>newsgroup, news.Infragisti cs.com,
        >>Now you can do what you want simply by puting the image to the
        >>grid.DisplayL ayout.Bands[0].Column["ColName"].Appearence.Ima ge!!
        >>OR
        >> use the initializeRow event of the grid and put the image to the[/color]
        > appearence[color=green]
        >>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" <ramesh.net007@ gmail.com> wrote in message
        >>news:11332537 96.746013.17672 0@g44g2000cwa.g ooglegroups.com ...[color=darkred]
        >>> 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
        >>>[/color]
        >>
        >>[/color]
        >
        >
        >
        > --
        > Sent via .NET Newsgroups
        > http://www.dotnetnewsgroups.com[/color]


        Comment

        Working...