Hi There,
i can’t seem to get the code right. i have a field with a button (css works fine) with a link to an external URL. in onRecord of the grid i use
{TEAMS}="<button onclick=‘window.location.href=‘https://w3docs.com’;’ class=‘button button1’>2px"; //example
so that the field teams shows a button and when pressed goes to the link. but nothing happens. i think it’s the “https://…” syntax that is faulty but i don’t know which brackets to use.
this is what it should look like btw
{TEAMS}="<button onclick=‘window.location.href=’{url}’;’ class=‘button button1’>2px";
any suggestions. it’s a bracket thing, but i’m all out of options