Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Exception on Format function
posted

I have used igGrid with RowTemplate defined. Now when I used the Format function it give me exception " Object doesn't support property or method 'replace'"

RowTemplate = "<tr><td>${Data.ID}</td><tr> 

this is the statement I used to format the column

column.For(obj => obj.Data.ID).HeaderText("User ID").DataType("number").Format("number");

Regards,

Ali Qureshi

Parents
  • 5105
    Offline posted

    Hi there Ali,

    If Data is the data source that you're providing to the grid, then I assume that your template should look like this:

    rowTemplate: "<tr><td>${ID}</td><tr>"

    Thank you for using the Infragistics forums!

Reply Children