Hi ,Please help me to check my codes , If i used
ejs-grid , Grid show properly, if i used ej-grid i got it error.So What difference between ej-grid and ejs-grid.Thanks.
<div>
<ejs-grid id="FlatGrid" allowPaging="true">
<e-datamanager url="/api/Orders/" adaptor="WebApiAdaptor" crossdomain="true"></e-datamanager>
<e-grid-pagesettings pageCount="5" pageSizes="true"></e-grid-pagesettings>
<e-grid-columns>
<e-grid-column field="id" headerText="Ward ID" isPrimaryKey="true" validationRules="@(new { required=true})" textAlign="Right" width="120"></e-grid-column>
<e-grid-column field="ward" headerText="Ward Name" validationRules="@(new { required=true})" width="150"></e-grid-column>
<e-grid-column field="bed" headerText="Bed No" format="C2" width="120"></e-grid-column>
<e-grid-column field="patNric" headerText="Patient NIRC" width="170"></e-grid-column>
<e-grid-column field="patName" headerText="Patient Name" width="150"></e-grid-column>
</e-grid-columns>
</ejs-grid>
</div>
<ej-grid id="FlatGrid" allow-paging="true">
<e-datamanager url="/api/Orders/" adaptor="WebApiAdaptor" crossdomain="true"></e-datamanager>
<e-grid-pagesettings pageCount="5" pageSizes="true"></e-grid-pagesettings>
<e-columns>
<e-column field="id" headerText="Ward ID" isPrimaryKey="true" textAlign="Right" width="120"></e-column>
<e-column field="ward" headerText="Ward Name" width="150"></e-column>
<e-column field="bed" headerText="Bed No" format="C2" width="120"></e-column>
<e-column field="patNric" headerText="Patient NIRC" width="170"></e-column>
<e-column field="patName" headerText="Patient Name" width="150"></e-column>
</e-columns>
</ej-grid>