<ejs-grid ref='grid' id='Grid'
:dataSource="info_set.data"
:allowTextWrap='true'
:rowHeight='rowHeight'
:allowPaging="false"
:allowKeyboardNavigation="false"
:pageSettings=pageSettings
:allowSorting="true"
:allowFiltering="true"
:allowGrouping="false"
:editSettings="editOptions"
:toolbar="toolbarOptions"
:allowPdfExport="false"
:actionComplete="actionComplete"
:toolbarClick='toolbarClick'
:rowDataBound='rowDataBound'
:rowSelected='rowSelected'
>
<e-columns>
<e-column field="tag" header-text="Datum" width=110 type='date' :isPrimaryKey="true" format='d.M.y' ></e-column>
<e-column field="wetag" header-text="Wochentag" width=0 :visible='false'></e-column>
<e-column field="dozent" header-text="Dozent" width=150 editType='dropdownedit' :edit='countryParams' :allowFiltering="false" :allowEditing="false"></e-column>
<e-column field="Thema" header-text="geplant" width=400 type='text' :disableHtmlEncode="false" :allowEditing="false"></e-column>
<e-column field="themadoz" header-text="Block 1" type='text'></e-column>
<e-column field="block2" header-text="Block 2" type='text'></e-column>
<e-column field="block3" header-text="Block 3" type='text'></e-column>
<e-column field="block4" header-text="Block 4" type='text'></e-column>
</e-columns>
</ejs-grid>
if (args.requestType === 'save') {
axios.get('/api/klassenbuch/updatedoz1/' + JSON.stringify(args.data) ) .then(function(response) {
console.log('saved', response)
});
}