Results 1 to 2 of 2

Thread: search tbar

  1. #1
    Ext User
    Join Date
    Aug 2010
    Posts
    24
    Vote Rating
    0
      0  

    Default search tbar

    Hi
    I placed one tbar in panel.now in that tbar i wnat to write A to Z letters as buttons through for loop.how can i place this..

    any one knows solution help me

  2. #2
    Sencha User BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
      0  

    Default

    If I understand your question correctly you want to add buttons A through Z to your existing toolbar object?

    Code:
    for(int i=65;i<=90;i++){
    toolBar.add(new Button(String.valueOf(((char)i))));
    }
    To be clearer I am using the number representation of the characters.

Similar Threads

  1. tbar search
    By olavevismaya in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 29 Aug 2010, 9:09 PM
  2. How to place gridsearch (Ext.ux.grid.Search) in tbar?
    By yagi in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 29 Jun 2010, 1:28 AM
  3. Dual Example : Add a second tbar to make GridPanel alphabetical search
    By peter.riche in forum Community Discussion
    Replies: 14
    Last Post: 16 Nov 2009, 4:39 AM
  4. How put Ext.ux.grid.Search into second tbar
    By Mark in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 4 Jul 2008, 8:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •