• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add DateField to the Toolbar using gwtext or gxt

 
Gundamaiah Annamaina
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I need to add two Date Fields for From Date and To Date and a Button to a toolbar using gxt or gwtext.Please suggest how to do this.


I am creating one grid in gxt.I need to add a toolbar at top of the Grid.I am creating the Toolbar as



And then I created two DateFields as




But now i want to add this two Date Fields along with one button to the toolbar and need to add that toolbar at the top of the Grid Panel.

Please guide.



 
Vijay kumar G
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you try the below option, it is in GXT.

panel.getHeader().addTool(button);

-Vijay



 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Vijay!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic