New to Kendo UI for jQueryStart a free 30-day trial

Sheets.drawings

configuration

An array which contains the drawings used in this sheet.

<div id="spreadsheet"></div>
<script>
  $("#spreadsheet").kendoSpreadsheet({
    images: {
      "1": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
    },
    sheets: [{
      drawings: [{
        topLeftCell: "A1",
        offsetX: 10,
        offsetY: 10,
        width: 100,
        height: 100,
        image: "1"
      }]
    }]
  });
</script>

The drawing's height in pixels.

<div id="spreadsheet"></div>
<script>
  $("#spreadsheet").kendoSpreadsheet({
    sheets: [{
      drawings: [{
        topLeftCell: "A1",
        width: 100,
        height: 150
      }]
    }]
  });
</script>

The ID of the image to display.

<div id="spreadsheet"></div>
<script>
  $("#spreadsheet").kendoSpreadsheet({
    images: {
      "logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
    },
    sheets: [{
      drawings: [{
        topLeftCell: "A1",
        width: 100,
        height: 100,
        image: "logo"
      }]
    }]
  });
</script>

The horizontal offset from the anchor cell's top-left corner, in pixels.

<div id="spreadsheet"></div>
<script>
  $("#spreadsheet").kendoSpreadsheet({
    sheets: [{
      drawings: [{
        topLeftCell: "A1",
        offsetX: 15,
        width: 50,
        height: 50
      }]
    }]
  });
</script>

The vertical offset from the anchor cell's top-left corner, in pixels.

<div id="spreadsheet"></div>
<script>
  $("#spreadsheet").kendoSpreadsheet({
    sheets: [{
      drawings: [{
        topLeftCell: "A1",
        offsetY: 20,
        width: 50,
        height: 50
      }]
    }]
  });
</script>

A cell to which the drawing's top-left corner is anchored.

<div id="spreadsheet"></div>
<script>
  $("#spreadsheet").kendoSpreadsheet({
    sheets: [{
      drawings: [{
        topLeftCell: "B2",
        width: 50,
        height: 50
      }]
    }]
  });
</script>

The drawing's width in pixels.

<div id="spreadsheet"></div>
<script>
  $("#spreadsheet").kendoSpreadsheet({
    sheets: [{
      drawings: [{
        topLeftCell: "A1",
        width: 120,
        height: 80
      }]
    }]
  });
</script>