Yes, I found that out myself in the mean time. However, returning
false was not the main problem (It should still have rendered the 'no
data' line).
The main issue was that I *replaced* the 'Render()' call with
'RenderUsing(new MyCustomRenderer())'.
So for future reference: when you need to use a custom grid renderer
this is the syntax:
Html.Grid(items).Columns(...).RenderUsing(new MyCustomRenderer
()).Render();
thanks again,
jeroen
On 28 okt, 21:55, Jeremy Skinner <
jer...@jeremyskinner.co.uk> wrote:
> You need to return true - the return value of RenderHeader indicates whether
> rendering should continue afterwards. By overriding RenderHeader you've
> already stopped the header from rendering, so you now need the GridRenderer
> to continue rendering the rest of the table.
>
> Jeremy
>
> 2009/10/28 jeroenh <
jeroen.haegeba...@gmail.com>