Using the dbtreeview (servoyextra-dbtreeview) as well as treeview (servoyextra-treeview) for the Titanium Client, the tree view shows (by default) the + sign to open sub nodes.
I would like to have triangles instead of pluses (+) for treeview like the dbtreeview shows, see attached screenshot.
How to apply triangles to the treeview component to get the same visual appearance like in the dbtreeview?
you can easily customise the tree by applying some custom css.
I did a similar thing for the ag-grid, where I preferred the fontawesome checkbox over the glyphicon one.
Using the inspector in your browser you should be able to target the correct class and change it in a similar way as below (which is the ag-grid change I did)
Thanks for the example. I work a lot with the inspector, but in this case using the inspector I get the image as data in the background-image. So I don’t see where it comes from and therefor how to change it.
I’ve put together a quick form using the servoyextra-treeview.
Quick look in the inspector, learned me that it’s using plain text to show ‘+’ and ‘-’.
Had to come up with a little trick to get around that, but this works: