EasyUI Forum
September 14, 2025, 07:28:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid with footer - issues with formater  (Read 5700 times)
Tomas
Newbie
*
Posts: 8


View Profile
« on: June 04, 2020, 09:11:13 AM »

Hi,

  I'm having a issue with datagrid footer, and I use formatter on a field that value
now shows up in the footer.

Thanks,
Tomas
Logged
Tomas
Newbie
*
Posts: 8


View Profile
« Reply #1 on: June 04, 2020, 10:26:31 AM »

I found a solution,
I added a check for a know field

Code:
                        formatter:function(value,row,index) {
                            if (typeof row.item === "undefined") {
                                return;
                            }

                            return row.item;
                        },

-Tomas
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!