Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144593 | May 14,2019 01:14 AM UTC | May 17,2019 11:07 AM UTC | Vue | 7 |
![]() |
Tags: Data Grid |
<template>
<div id="app">
<ejs-grid id="Grid" :dataSource="data" ref="grid">
<e-columns>
<e-column field="Authors" headerText="Authors" width="100" :disableHtmlEncode="false"></e-column>
</e-columns>
</ejs-grid>
</div>
</template>
<script>
import Vue from "vue";
import { GridPlugin } from "@syncfusion/ej2-vue-grids";
Vue.use(GridPlugin);
export default {
name: "App",
data() {
return {
data: [
{ Authors: "Hodges E, <b>Rosebrock AP</b>" },
{ Authors: "<i> Chen FK</i>" },
{ Authors: "<font color='red'>McFadden DG</font>" }
]
};
}
};
</script>
|
excelQueryCellInfo: function(args) {
if (args.value == "<font color='red'>McFadden DG</font>") {
args.style = { fontColor: "#ff704d" };
}
} |
Woods DM, Woan KV, Cheng F, Sodré AL, <font color='#D2B4DE'>Wang D</font>, Wu Y, Wang Z, <font color='#138d75'>Chen J</font>, Powers J, Pinilla-Ibarz J, Yu Y, <font color='#d4ac0d'>Zhang Y</font>, Wu X, <font color='#D2B4DE'>Zheng X</font>, Weber J, Hancock WW, <font color='#D2B4DE'>Seto E</font>, <font color='#b9770e '>Villagra A</font>, Yu XZ, <font color='#b9770e '>Sotomayor EM</font>. Journal Name |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.