EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
July 01, 2024, 03:08:50 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
treegrid / columns / formatter for a field question
Pages: [
1
]
« previous
next »
Print
Author
Topic: treegrid / columns / formatter for a field question (Read 5414 times)
mzeddd
Full Member
Posts: 223
treegrid / columns / formatter for a field question
«
on:
February 01, 2016, 07:16:18 AM »
Hi,
How can I define different formatter for footer row in treegrid?
Or understand that current row is footer row.
Thanks
//V
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: treegrid / columns / formatter for a field question
«
Reply #1 on:
February 02, 2016, 02:04:38 AM »
Load footer rows with special field value and then indicate these footer rows in the 'formatter' function.
Code:
formatter: function(value,row){
if (row.isFooter){ // is footer row
//...
}
}
Logged
mzeddd
Full Member
Posts: 223
Re: treegrid / columns / formatter for a field question
«
Reply #2 on:
February 02, 2016, 02:48:20 AM »
Thanks!
I have found another way: I'm checking if row.id=='foot-row-id0'
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...