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. Image for the cookie policy date
close icon

Format gets lost on JSON update

Using Format to create an link in a grid column like follow:

column.Add(p => p.Id).HeaderText("Id").Format("Show {Id}");

is getting fine rendered on first time. Moving to another page using the pager and JSON mode, do not render any links any more.

I checked the returning JSON data and it contains all values (incl. Id).

Any idea?

2 Replies

MM Mladen Miljic December 17, 2009 08:04 AM UTC

I am using version 7.4.0.20.


BM Balaji M Syncfusion Team December 17, 2009 12:40 PM UTC

Hi Mladen,

Thank you for your interest in Syncfusion products.

The reported issue "Format losses in Json paging" raised because of the template your using. Grid renders normally from server side code through format method so if any format text applied it renders first time with formatted text, where in json page navigation the grid records are inserted into grid ( as per the format given in the template) in client side. We suggest you to format the template field. In your sample, add the same format syntax("Show {id}") inside the td elements to resolve the reported issue.

Let me know if you have any concerns.

Regards,
M. Balaji.

Loader.
Live Chat Icon For mobile
Up arrow icon