DeeboData Angular Grid JS Grid React Grid
Contact Us Demo Pricing

DeeboData Angular Datagrid Processing Links & Image URLs

Angular Data Grid

File of interest

services/data-table-service.ts
The Angular data grid uses Regular Expressions (RegEx) to see if values within a column are allowable URLs. If the URL is determined to be an image, the grid will render the image within the cell. If the URL is determined to be a link, the grid will render the value as a clickable link that opens in a new tab.

Search for figureCellText in the file of interest mentioned above.

This is the function where all the logic for processing links and images is handled. Use the default logic or alter it for your own audience and use cases. By default, the grid will only process urls that begin with https. The following image types will get processed:
  • WebP
  • JPEG
  • JPG
  • PNG
  • JFIF
  • PJPEG
  • PJP
  • AVIF