Hi,
Does setCellValue not work when using RowTemplate?
setCellValue does not work in the subsequent source code, but setCellValue works if you delete the RowTemplate of cshtml.
<cshtml>
@(Html.EJS().Grid("Grid")
.DataSource(Model)
.RowTemplate("#rowtemplate")
...
<javascript>
$(function () {
$.connection.signalrHub.client.listenInfo = function (data) {
data = JSON.parse(data);
var grid = document.getElementById("Grid").ej2_instances[0];
grid.setCellValue(data["PrimaryKey"], "Column1", data["Column1"]);
...
I want to use a RowTemplate to change the style of the cell and update the cell dynamically.
I am using Syncfusion.EJ2.MVC5.17.4.0.51.
Is there any solution?
Regards,
Pylori.