Hi,
I'm looking for a way to use Ext metaData:-json directive to create dynamic column grids the "MODx way", currently the only way I see to do this is by overwriting outputArray of modProcessor and do my own magic there.
public function outputArray(array $array,$count = false) {
if ($count === false) { $count = count($array); }
return '{""something":"extra", "total":"'.$count.'","results":'.$this->modx->toJSON($array).'}';
}
Any pointers? Or is this the way to do it for now?