We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Aurelia - Template Column not displaying correctly after updating datasource

Thread ID:





126216 Oct 1,2016 12:05 PM UTC Oct 3,2016 12:32 PM UTC JavaScript 1
Tags: ejGrid
Steven Eichenberg
Asked On October 1, 2016 12:05 PM UTC

I am using the Syncfusion Bridge for an Aurelia application.  The grid is defined below.


       <ej-grid id="demoGrid" e-data-source.bind="OrdersList" e-allow-paging=true>
            <ej-column e-field="OrderID" e-header-text="Order ID" e-text-align="right" e-width="75" e-templateID="#columnTemplate">
                    <a rel='nofollow' href="">${OrderID}</a>
            <ej-column e-field="CustomerID" e-header-text="Customer ID" e-width="90"></ej-column>
            <ej-column e-field="EmployeeID" e-header-text="Employee ID" e-text-align="right" e-width="90"></ej-column>
            <ej-column e-field="Freight" e-header-text="Freight" e-format="{0:C2}" e-text-align="right" e-width="75"></ej-column>
            <ej-column e-field="ShipCountry" e-header-text="Ship Country" e-width="100"></ej-column>

I'm using the example Javascript to load the data

export class ReportDemo {
    constructor() {
      this.OrdersList =  ej.DataManager({ // eslint-disable-line new-cap
        url: 'http://mvc.syncfusion.com/Services/Northwnd.svc/Orders/'

The grid displays fine with the OrderID as a hyperlink.

I have a button that calls the following javascript code:


       var newList =  ej.DataManager({ // eslint-disable-line new-cap
        url: 'http://mvc.syncfusion.com/Services/Northwnd.svc/Orders/'
        var grid = $("#demoGrid").data("ejGrid");

        grid.dataSource(newList, true);


After the grid is refreshed, the OrderID does not display correctly.
The grid is positioned on Page 1.

Instead of displaying the OrderID value as a hyperlink it displays the following:  
If I goto page 2 it will display the the OrderID value as a hyperlink.

Please see the attached file.

The issue is the Template column does not display properly after updating the datasource on Page 1.

Please help.  Thank you,


Attachment: Grid_Issue_4b71b713.zip

Jayaprakash Kamaraj [Syncfusion]
Replied On October 3, 2016 12:32 PM UTC

Hi Steven, 
A support incident has been created under your account to resolve the issue. Please log on to our support website to check for further updates.  

Jayaprakash K.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon