Search Type: Posts; User: Farish

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. i think you are getting closer. try using some debugging tool (e.g. press F12 in Chrome to launch it) or install Firebug plugin in Firefox and then you can set breakpoints and observe what is going...
  2. you have defined your components with Ext.define(). you have to create instances of these to use them. You can assign them to a variables and then use those.


    var storeAccounts =...
  3. your code seems fine. what problem are you having? you just have to put the code i gave you where you have the renderer. The only thing you have to change is to replace storeAccounts with your store.
  4. its quite simple. assuming that the userAccount which refers to number field in the 2nd store is unique. you can add a renderer function to that column in the grid:


    renderer: function(val)
    {...
  5. open your app in Chrome and press F12 to launch debugging tools. there you can see the request to fetch data from json file. if the path is not correct, the file wont be found and data wont be...
  6. you can use the column layout: http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.layout.container.Column

    when the columnWidth sum exceeds 1.0, it will automatically move the next component to next row.
  7. its working fine from JSON file also. I am using the following code:


    Ext.onReady(function () {
    Ext.define('Person', {
    extend: 'Ext.data.Model',
    fields: [
    { name: 'id', type:...
  8. if i use the following as tree data:


    var data = {
    "name":"Test",
    "expanded": true,
    "children": [
    { "id": 1, "name": "Phil", "leaf": true },
    { "id": 2, "name": "Nico", "expanded":...
  9. what are you seeing when you load the app?
  10. its probably because the store is not reloaded when you do the getTotalCount() and select(). these should be called after the store has been loaded. you can do that on the load event of the store.
  11. for your 2nd question, you can use card layout and call setActiveItem() method to change the views. For the 1st one, you can do it with CSS (look up dead center positioning). Dont know how to do it...
  12. Replies
    1
    Views
    64
    whats in the field object you receive as an argument? does it have a value property? do a console.log to investigate or your debugging features of Firebug or Chrome (press F12). see whats the value...
  13. I use something like this:


    var drawComponent = Ext.create('Ext.draw.Component', {
    height: 300,
    widht: 300,
    viewBox: false,
    renderTo: Ext.getBody()
    });
  14. one way could be to keep grid hidden when created (hidden: true) and then on the load event of your store, call grid.show();
  15. Replies
    7
    Views
    319
    hmm. it seems to be version dependent. I tried it with 4.0.7 and its working there. you can change the ExtJS version in the API Docs (top left) and then paste the following code into the code editor....
  16. Replies
    7
    Views
    319
    i tried the code I posted with the examples in the API documentation and the label did appear there. you should also try that. open the "line" series documentation and add this label there (remove...
  17. it could be that it works with aliases too. I haven't tested it.
  18. the documentation doesnt provide much details. But if you have assigned a storeId to your store, you can use that id in grid and it works. Here is an example taken from the documentation:

    ...
  19. I use the following:


    { header: 'Inactive', dataIndex: 'bInactive',
    editor: {
    xtype: 'checkbox',
    allowBlank: true,
    ...
  20. Replies
    7
    Views
    319
    DGP8761 is your field's name? also, you didnt use the renderer I posted. First, just try it without any renderer and it should work.
  21. I cannot understand what you want to do. wont commenting out the line which closes the windows and then running your app show you the effect you want to observe?
  22. Replies
    7
    Views
    319
    you have to add the field whose value is to be rendered as label. e.g.


    label:
    {
    display: 'insideEnd',
    field: 'data1',
    renderer: function(val) {
    return val + '%';
    }
  23. I am not sure if you actually need 2 viewports. you can use one viewport with card layout.

    http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.container.Viewport

    "To display one "active" item at full...
  24. why dont you give it a try and see what happens?
  25. you can use menuDisabled: true on the grid columns to hide the menu which shows sorting and column show/hide options.

    enableColumnHide: false on the grid panel only removes the column show/hide...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4

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