Search Type: Posts; User: tianhao

Search: Search took 0.01 seconds.

  1. if ( this.getValue() == '0' ){
    this.setValue('');
    }
  2. Replies
    1
    Views
    273
    use filter, like this
    Ext.getCmp('ur_grid').getStore().filter('ur_col', eval( filter ));
    which filter is reg. exp. pattern
    see api docs for filter
  3. thanks to ashu2289, i will try the code in my page.
    also thanks to yyogev for your remind. delay focus did it because i loaded data to the grid with ajax.
  4. yes, delay solves the problem.
    but i have no idea except this one.
    i also have not catched any event about scrolling.
    still waiting for the best solution.
  5. this can solve my problem:


    Ext.onReady(function(){
    var mainPanel = Ext.create('Ext.grid.Panel', {......});
    });
    mainPanel.render(document.body);
    setTimeout(function(){
    var...
  6. hi all,i have the following code to focus and scroll to a certain record in a grid:

    Ext.onReady(function(){
    var mainPanel = Ext.create('Ext.grid.Panel', {......});
    });...
  7. hi all,
    i create a simple chart like ...
    Ext.create('Ext.chart.Chart', { ...,store:...,axes:... });
    ...it works without error.
    then i want to add rectangles onto the chart, according to their...
  8. best answer!
  9. use dockedItems with dock='right'
  10. hi all,
    i have a form like this: extjs4
    xtype: 'form',......
    items: [{ xtype: 'textfield', fieldLabel: 'query string', id: 'query' }],
    buttons: [{ text: 'query' }]......
    so, the textfield and...
  11. thank you very much
  12. hi,
    this is the code of a data store with ajax in a gridpanel:
    xtype: 'gridpanel',
    ......
    store: Ext.create('Ext.data.Store',{fields: [...],proxy: {type: 'ajax',url: 'duty.json.ajax.php',...}})...
  13. sorry i made a mistake. response data must include column name like this:
    "duty_id": 3 not only 3.
  14. hi
    here is grid which data store is ajax. when i use static text file, it works fine. here is the code of url definition:
    url: mytext.txt
    and the content is:
    {
    "items": [
    ...
  15. it didnot work
    console prompted ok when i run Ext.getCmp('id').getValue(). the result is 4. that is right.
    any help will be appreciated.
  16. hi all,
    i have finished an ajax grid. it works good. here is the code:
    xtype: 'gridpanel',
    id: 'mygrid',
    ......
    store: Ext.create('Ext.data.Store',{proxy: {type: 'ajax',url:...
  17. Thank you very much. It works!
  18. Hi all,
    I can get id and text of the node when I expand a node in a treepanel. The code added to listeners like this:
    listeners: { itemexpand: function(node) { alert( node.get('id') +...
  19. Replies
    4
    Views
    1,012
    Thank you very much!
    I have changed code like this:
    this.up('form').child('[id=theTree]').expandAll();
    It works!
  20. Replies
    4
    Views
    1,012
    Can you give the explicit sample code for me please. Thank you for your earliest reply.
  21. Replies
    4
    Views
    1,012
    I have a treepanel in an ext.form.panel using "xtype:'treepanel'" and "id:'theTree'" within items of the ext.form.panel. The question is how I can get the tree reference, or how I can run this js...
Results 1 to 21 of 21

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar