Skip to content

Instantly share code, notes, and snippets.

@clubdesarrolladores
Last active September 15, 2015 18:45
Show Gist options
  • Save clubdesarrolladores/1d5497e7acef4da07eee to your computer and use it in GitHub Desktop.
Save clubdesarrolladores/1d5497e7acef4da07eee to your computer and use it in GitHub Desktop.
APY DATA GRID OPERATORS BY TYPE
string
defaultOperator="like", operators={"eq", "neq", "like", "nlike", "rlike", "llike", "isNull", "isNotNull"}
number
defaultOperator="eq", operators={"eq", "neq", "lt", "lte", "gt", "gte", "btw", "btwe", "isNull", "isNotNull"}
boolean
values={0 = "no", 1 = "yes"}, defaultOperator="eq", operators={"eq", "neq", "isNull", "isNotNull"}
list
defaultOperator="eq", operators={"eq", "neq", "isNull", "isNotNull"}
date/time
defaultOperator="eq", operators={"eq", "neq", "lt", "lte", "gt", "gte", "btw", "btwe", "isNull", "isNotNull"}
--------
usuarios:
@Grid\Column(field="organizer.email", title="Organizer", filter="select", defaultOperator="eq", operators={"eq", "neq", "isNull", "isNotNull"}, size=50)
fechas con selector:
@Grid\Column(title="Start at", type="date", format="d/m/Y H:i", inputType="date", defaultOperator="btwe", operators={"eq", "neq", "lt", "lte", "gt", "gte", "btw", "btwe", "isNull", "isNotNull"}, operatorsVisible=false)
time:
@Grid\Column(title="Time", type="time", format="h:i a", inputType="time", defaultOperator="btwe", operators={"eq", "neq", "lt", "lte", "gt", "gte", "btw", "btwe", "isNull", "isNotNull"}, operatorsVisible=false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment