BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<template>
<div id="app">
<ejs-button id="enable" cssClass="e-flat" @click.native="enable">Select</ejs-button>
<ejs-grid
id="reportGrid"
ref="reportGrid"
:actionFailure="fail"
:allowSelection="true"
:dataSource="data"
:allowTextWrap="true"
:allowExcelExport="true"
:allowPdfExport="true"
:selectionSettings="selectOptions"
>
<e-columns>
. . .
</e-columns>
</ejs-grid>
</div>
</template>
<script>
. . .
export default {
data() {
return {
data: data,
selectOptions: { type: "Single" }
};
},
methods: {
fail: e => {
debugger;
},
enable: function() {
this.$refs.reportGrid.ej2Instances.selectRow(5, true);
}
}
};
</script> |