I have 2 model attributes - model.name and model.url I need to create a linkColumn that column name = model.name and link to the url specified in model.url
Is it possible to achieve such thing?
thanks
I have 2 model attributes - model.name and model.url I need to create a linkColumn that column name = model.name and link to the url specified in model.url
Is it possible to achieve such thing?
thanks
I achieved it by creating a custom column that queries the database and renders the link from the given attributes
You can use TemplateColumn to achieve it. Your tables.py should look something like this
You may refer to the DOC, for more info.