I have a custom grid editor that lets users select an image, headline and some text. It also needs a "read more" button that should be a node picker to select a content item. I've tried several ways to achieve this without any luck so far.
My latest attempt is to use the settings available in the grid editor, to allow a user to add a page link. In the settings JSON, I have the following:
{
"label": "Set a content page link",
"description": "Set a read more link",
"key": "data-link",
"view": "treepicker",
"modifier": "url({0})"
}
If I set this on a top-level row, the default Bootstrap3.cshtml picks it up and inserts it automatically. But is there any way I can get this setting in a custom grid editor?
Topic author was deleted
Possible to get U7 Grid settings/styles into custom grid editor?
Hi,
I have a custom grid editor that lets users select an image, headline and some text. It also needs a "read more" button that should be a node picker to select a content item. I've tried several ways to achieve this without any luck so far.
My latest attempt is to use the settings available in the grid editor, to allow a user to add a page link. In the settings JSON, I have the following:
If I set this on a top-level row, the default
Bootstrap3.cshtml
picks it up and inserts it automatically. But is there any way I can get this setting in a custom grid editor?Comment author was deleted
bump this back up Any ideas on this one? I guess I could pull them out using JavaScript, but I'd rather have them in place without JS if possible.
is working on a reply...