jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • in reply to: grid image grid image #15323

    taraman
    Member
    var renderSurgeryStatusImage = function (row, columnfield, value, defaulthtml, columnproperties) {
    return '<img src="' + value + '" style="margin-left: 15px;margin-top: 5px" />';
    };
    in reply to: grid image grid image #15322

    taraman
    Member

    I cut this example from my own code:

    var renderSurgeryStatusImage = function (row, columnfield, value, defaulthtml, columnproperties) {
    return ‘‘;
    };

    columns: [
    { text: “”, dataField: “SurgeryStatusImagePath”, width: 50, cellsrenderer: renderSurgeryStatusImage }
    ]

    Note: SurgeryStatusImagePath is a column in database has the image url

Viewing 2 posts - 16 through 17 (of 17 total)