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

Grid footer controls gets removed in editing mode

2 Answers 25 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raja
Top achievements
Rank 1
Raja asked on 01 Aug 2014, 05:28 PM
Hi,

I have grid with custom footer template. Below is the configuration of columns with MVVM

data-columns="[
    {'field':'ComponentName', 'title':'Component Name','footerTemplate': '#= GetFooterText() #'},      {'field':'Percentage', 'title':'Percentage','footerTemplate':'#= GetFooterValue() #'}
                        ]"

GetFooterText and GetFooterValue functions return a <div> with necessary markup. I am adding a new row to the grid when even I press tab out form a text box which is above the grid. When i do that <div> from the footer are removed. Not sure how. How can I retain them?  They will not come back even after leaving editing. This is in line  editing.

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 05 Aug 2014, 11:27 AM
Hello,

I tried to reproduce the problem but to no avail. Could you check this example and let me know if I am missing something and if the problem occurs on your side?

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Raja
Top achievements
Rank 1
answered on 09 Aug 2014, 12:54 AM
Hi Daniel,

Sorry for the trouble. Somehow control loses its model binding in edit mode which I have corrected. This is working as expected now. Thanks for your help.
Tags
Grid
Asked by
Raja
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Raja
Top achievements
Rank 1
Share this question
or