There's no built-in less than/greater than, you can implement that sort of thing by creating a function in your controller. For 'not', use:
<% if not $Pos=3 %>
See here: http://doc.silverstripe.org/framework/en/reference/templates#conditional-logic
Posted to: Gridfield loop and count in template | Show Thread | Post Reply