JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Table › Display blob data as image › Reply To: Display blob data as image
Hi Neo Ng,
Thank you for contacting us!
I would like to ask you to give us a bit more context or code example of your use case.
However as much as I understood your case you want to display the data from the Blob into image in the table component.
If you want to have an image to be displayed in the table you can do so like in the code example below:
//In the columns array we will use the formatFunction callback to create a new layout for the column
{
label: 'Symbol', dataField: 'symbol', dataType: 'string', width: 150,
formatFunction(settings) {
settings.template = <code><img src="${settings.value}.jpg" /></code>;
}
},
Also note that the value of the dataField must be the name of picture you want to display.
Let me know if that is the case or if it works for you.
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/