This is a migrated thread and some comments may be shown as answers.

[Solved] Formatting timespan and AJAX binding

3 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telli
Top achievements
Rank 1
Telli asked on 25 Oct 2010, 01:45 PM
Hi,

I'm trying to create a grid with AJAX binding and formatting of a timespan column. I can't bind to a string since that would mess up sorting for the column.

When I refresh the form, the column just displays lots of [object Object] entries.

According to this post It should be possible, even though the manual says otherwise. Could you please let me know the status on this feature? Is there perhaps some beta version I should be trying?

If this is still not supported, could you please suggest any workaround that would provide proper formatting AND sorting of the column without having to remove AJAX binding?

3 Answers, 1 is accepted

Sort by
0
Telli
Top achievements
Rank 1
answered on 25 Oct 2010, 02:18 PM
I just found out that I can work around this by formatting the timespan to a seconds integer and using client-side templates to render it properly as needed.
0
Michael
Top achievements
Rank 1
answered on 28 Mar 2011, 06:10 AM
That sounds HORRID...care to explain?
0
Mandar Bansod
Top achievements
Rank 1
answered on 11 May 2011, 01:43 PM
hi telli,

Can you please suggest me some solution as I am running through the same problem...... ?

thanks for your help.
Tags
Grid
Asked by
Telli
Top achievements
Rank 1
Answers by
Telli
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Mandar Bansod
Top achievements
Rank 1
Share this question
or