Please,
how can I solve this little problem.
I have the grid for editing like this
and I want to add new record
but when I leave the first column without enter something
I got the scrollbar inside the edit row with required message.
This is my grid:
<ejs-grid id="gridZapVr" locale="hr" toolbar="@(new List<string>() {"Search", "Add", "Edit", "Delete", "Update", "Cancel" })"
gridLines="Both" allowSorting="true"
allowPaging="true" allowTextWrap="true">
<e-data-manager url="/Placa/Plobracuns/PlobracunZapVrDataSource" insertUrl="/Placa/Plobracuns/PlobracunZapVrInsert" updateUrl="/Placa/Plobracuns/PlobracunZapVrUpdate" removeUrl="/Placa/Plobracuns/PlobracunZapVrDelete" adaptor="UrlAdaptor"></e-data-manager>
<e-grid-editSettings allowAdding="true" allowDeleting="true" allowEditing="true" showDeleteConfirmDialog="true"></e-grid-editSettings>
<e-grid-columns>
<e-grid-column field="OpzapVrid" isPrimaryKey="true" headerText="OpzapVrid" visible="false" width="65"></e-grid-column>
<e-grid-column field="OpzapId" headerText="OpzapId" visible="false" width="65"></e-grid-column>
<e-grid-column field="VrstaRadaId" headerText="Vrsta rada" validationRules="@(new { required=true})" width="200px"></e-grid-column>
<e-grid-column field="Sati" headerText="Sati" width="150px" type="number" format="N2" headerTextAlign="Right" textAlign="Right"></e-grid-column>
<e-grid-column field="DanOd" headerText="Dan od" width="150px" type="number" format="N0" headerTextAlign="Right" textAlign="Right"></e-grid-column>
<e-grid-column field="DanDo" headerText="Dan do" width="150px" type="number" format="N0" headerTextAlign="Right" textAlign="Right"></e-grid-column>
<e-grid-column field="KoefVr" headerText="Koef. VR" width="100px" type="number" format="N2" defaultValue="1" headerTextAlign="Right" textAlign="Right"></e-grid-column>
<e-grid-column field="IznosBruto" headerText="Bruto" width="150px" type="number" format="N2" defaultValue="0" headerTextAlign="Right" textAlign="Right"></e-grid-column>
<e-grid-column field="IznosNeto" headerText="Neto" width="150px" type="number" format="N2" defaultValue="0" headerTextAlign="Right" textAlign="Right"></e-grid-column>
<e-grid-column field="IznosUk" headerText="Ukupno" width="150px" type="number" format="N2" defaultValue="0" headerTextAlign="Right" textAlign="Right"></e-grid-column>
</e-grid-columns>
</ejs-grid>
Thanks!
Bernard.