Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Why are the images in my grid rendered to small?

    Hallo,
    I'm new here.

    I need a grid with a column for images. The images should have the ORIGINAL size. My Problem is, that the images are always rendered with 16x16.

    How can I fix this or where can I find it in the API?

    Here is my code:
    Code:
    isc.TreeGrid.create({
       ID: "id",
       data, d,
       fields: [
           {name: 'Name', title: 'Name'},
    	{name: 'Image', type: 'image', width: 50, title: 'Image', imageURLPrefix: 'icons/', imageURLSuffix: '.jpg'},
    	{name: 'Desc', title: 'Description'}
       ],
    
        nodeIcon:"icons/16/person.png",
        folderIcon:"icons/16/person.png",
        showOpenIcons:false,
        showDropIcons:false,
        closedIconSuffix:"",
    		
        wrapCells: true,
        // cellHeight: 56,
       fixedRecordHeights : false
    });
    Thanks

    #2
    I found the attributes imageSize, imageWidth and imageHeight to set the size. But what can I do if I need the original size of the image?

    Comment


      #3
      Hi,
      Maybe the imageType property can be usefull for you (am not sure).

      gr. Martin

      Comment


        #4
        Do you have an example or a link?

        Comment


          #5
          type in the word 'imagetype' in the smartclient reference and you will get some more info.
          (I don't know how to create links directly into the smartclient reference).

          gr. Martin

          Comment

          Working...
          X