EasyUI Forum
December 01, 2025, 04:40:49 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Field content within the title bar  (Read 11460 times)
jaimi
Full Member
***
Posts: 121


View Profile
« on: September 23, 2012, 02:56:49 AM »

I would like to show some information from the result query / datagrid field within the title bar / header of the datagrid.
How is that possible?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: September 23, 2012, 05:47:42 PM »

Get the datagrid panel and call 'setTitle' method to change the title.

Code:
var p = $('#dg').datagrid('getPanel');  // get the panel object
p.panel('setTitle', 'new title');  // change title information
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!