SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.06k stars 646 forks source link

Want to add new list option without url and want on click event on that #1638

Open harshdagariya opened 4 months ago

harshdagariya commented 4 months ago

I want to add "Pin functionality" on listing. But when I tried to add custom resource it automatically create href but I don't want href and I want to add my custom method on that when user click on that pin button, so how can I achieve that?

dziraf commented 3 months ago

Resources in AdminJS refer to data collections, I'm not sure what you're trying to achieve. Don't you simply need a Pin button next to a record in list?