Hi guys,
I have a problem using grid with models which are namespaced.
So for example when I use a model like "Ekv\models\MMovies" I got grid filter inputs like
<input type="text" name="Ekv\models\MMovies[movieID]">
So I would like to know is there any way to customize this naming convention, to provide an input base name maybe?
As I saw from the yii internals it’s quite tied to the model name of grid (CHtml::resolveName())
return get_class($model).'['.substr($attribute,0,$pos).']'.substr($attribute,$pos);
but maybe I’m missing something and there is some way to change it?
Please look at the attachment, for detailed explanation.