Hey guys,
I have an issue with the unigrid for a custom module. In the code below you can see my code for showing the grid. My problem is that is only shows the first column. The others are not shown.
grid> <query name="products.customproducts.selectallproducts" columns=""></query> <objecttype name="products.customproducts" columns=""></objecttype> <actions> <action name="Edit" caption="$General.Edit$" fonticonclass="icon-edit" fonticonstyle="allow"/> <action name="#delete" caption="$General.Delete$" fonticonclass="icon-bin" fonticonstyle="critical" confirmation="$General.ConfirmDelete$" /> </actions> <columns> <column source="ProductName" caption="Name" width="70%" /> <colum source="Brand" /> <colum source="Type" /> </columns> </grid>
Any ideas where things are going wrong? I followed the documentation available.
You have mistakes here colum instead of column
colum
column
<colum source="Brand" /> <colum source="Type" />
Hi, Have you tried to add captions for them?
Yes, the columns don't show.
Please, sign in to be able to submit a new answer.