Loading ...
Sorry, an error occurred while loading the content.

Re: displaying an image in a datatable column

Expand Messages
  • balancingactpictures
    Thank you, I solved the problem. It was an html error. ... label: MyTestColumn ,className= showimg ,sortable:true} ... very ... datatable ... limit ...
    Message 1 of 4 , Feb 1, 2009
    • 0 Attachment
      Thank you, I solved the problem. It was an html error.

      --- In ydn-javascript@yahoogroups.com, ketigadu <ketigadu@...> wrote:
      >
      >
      > You might want to try this.
      >
      > Specify a class for your column.
      >
      > {key:"testcolumn",
      label:"MyTestColumn",className="showimg",sortable:true}
      >
      > In your stylesheet use something like this.
      >
      > .showimg {
      > background:url(/images/myimage.gif) no-repeat right
      > }
      >
      >
      > Manoj
      >
      >
      > balancingactpictures wrote:
      > >
      > > My datatable works great with one exception - I cannot get it to
      > > display an image using an ... tag. I know the path is
      > > correct; in fact I even see the image when the page loads for one
      very
      > > brief instant before the yahoo stylesheet takes charge. The
      datatable
      > > is contained within a container with class="yui-dt". Is there a
      limit
      > > to how large the image is? Thank you for any hints, tips, etc.
      > >
      > >
      > >
      >
      > --
      > View this message in context:
      http://www.nabble.com/displaying-an-image-in-a-datatable-column-tp217709\
      15p21771791.html
      > Sent from the ydn-javascript mailing list archive at Nabble.com.
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.