Can't delete Umbraco Grid if it only has one editor.
Hello there!
Working with Umbraco i have stumble upon what might be a bug working with the Grid Editor.
So for starters I made a custom grid, of 3 rows, naming it as you can see on the picture 3 White Tiles.
However, in this editor, i have chosen to ONLY have this single row configuration, to make it simple for my client to use this doctype/tab.
Which appears like this :
But.. when I try to delete this grid, it gets replaced by an empty grid.
I can't delete the grid (only remove the content within it), and the html generated by the grid will appear no matter what I do.
If I do a null or empty check on a deleted or freshly made grid of this sort it will off-course not return null.
Thus I am forced to make an extra grid, which my client will not be using, but this allows the user to not use the 3 white tiles, and avoid getting the extra html into the view.
Ideally, adding one row should be optional not forced :)
Can't delete Umbraco Grid if it only has one editor.
Hello there!
Working with Umbraco i have stumble upon what might be a bug working with the Grid Editor.
So for starters I made a custom grid, of 3 rows, naming it as you can see on the picture 3 White Tiles.
However, in this editor, i have chosen to ONLY have this single row configuration, to make it simple for my client to use this doctype/tab.
Which appears like this :
But.. when I try to delete this grid, it gets replaced by an empty grid.
I can't delete the grid (only remove the content within it), and the html generated by the grid will appear no matter what I do.
If I do a null or empty check on a deleted or freshly made grid of this sort it will off-course not return null.
Thus I am forced to make an extra grid, which my client will not be using, but this allows the user to not use the 3 white tiles, and avoid getting the extra html into the view.
Ideally, adding one row should be optional not forced :)
Hey Kim
Check this post for a bunch of solutions on how to check if a grid has data https://our.umbraco.com/forum/umbraco-7/using-umbraco-7/73346-check-if-umbraco-grid-is-empty
is working on a reply...