FooterCell doesn't work in DataGrid at all.

2 Answers 64 Views
Grid
Vakhtang
Top achievements
Rank 1
Iron
Vakhtang asked on 20 Sep 2023, 08:13 AM

Hi. I faced a problem with rendering footerCell . It worked for me in version 3.18.0 but after update it doesn't work in versions 5.16.0  - 5.18.0. 

Also I found out that it doesn't work in any your DataGrid examples if I addngi footerCell functionality.

FooterCell looks like :

footerCell={props => (<td className='k-table-td' colSpan={props.colSpan} style={props.style} role={'gridcell'}>Total: </td>)}

or 

footerCell={() => <td>Total:</td>}

In my solution and in all your examples it crashes DataGrid rendering. 

I attached screenshot from my solution, but the same bihavior if I adding this lines of code in any your example of DataGrid demo site.

Is it bug, or what am I doing wrong? 

Vakhtang
Top achievements
Rank 1
Iron
commented on 20 Sep 2023, 08:37 AM

Also this code doesn't work too : 


<GridColumn field="Discontinued" 
      cells={{ data: MyCustomCell , footerCell: props => (<td className='k-table-td' colSpan={props.colSpan} style={props.style} role={'gridcell'}>Total: </td>)}} />

2 Answers, 1 is accepted

Sort by
0
Accepted
Wissam
Telerik team
answered on 22 Sep 2023, 07:23 AM

Hi, Vakhtang,

This bug that is reproducible with the `5.18.0` version of the Grid is logged here:

Regards,
Wissam
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

0
Vakhtang
Top achievements
Rank 1
Iron
answered on 22 Sep 2023, 10:26 AM
I confirm that it works in version "5.17.0" for me. Thank you. 
Wissam
Telerik team
commented on 22 Sep 2023, 10:28 AM

You are welcome, Vakhtang.
Tags
Grid
Asked by
Vakhtang
Top achievements
Rank 1
Iron
Answers by
Wissam
Telerik team
Vakhtang
Top achievements
Rank 1
Iron
Share this question
or