Datatable create hyperlink from column data

Hi, I have a datatable where one of the column is enclosure_name. The data in that column would be something like “TEST-ENC01”, “TEST-ENC02”, etc. How can I create a hyperlink for that column that would use the enclosure_name value as a query string? ie (https://internal.ops.data/getenc.php?name=TEST-ENC01)

Thanks,
David

Hi,

You can define per column templates for the datatable
Template can contain a custom HTML tags, including links

https://snippet.webix.com/2tjed978

webix.ui({
  rows:[
    { view:"datatable", columns:[{
      id:"year", 
      template:`<a href="https://some.com?for=#year#">#year#</a>`
    }], data:grid_data }
  ]
});

More details about templates here

Thank you.

Is is possible to define another character, instead of # to be the delimiter for the row data? I ask because my url is like index.php#ajax/some.php and that # in the URL breaks it.

Thanks,
David