@gge327

@gge327

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Display blob data as image #101755
    gge327
    Member

    Thanks for the fast reply. I used the code below to satisfied my need.
    { label: “Image”, dataField: “img”, dataType: “string”, width: 90,
    formatFunction(settings) {
    if(settings.value){
    let baseString = “data:image/png;base64,” + settings.value.trim();
    let imgDom = ‘img_’+settings.data.nonce;
    settings.template = ‘‘;
    setTimeout(() => {
    $(“#” + imgDom).prop(“src”, baseString);
    }, 100);
    }
    },
    responsivePriority: 1
    },

Viewing 1 post (of 1 total)