Search Type: Posts; User: sveatlo

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    459
    In controller:



    Ext.getStore('MenuStats').load({
    params: {
    auth: sessionStorage.authSessionId,
    hostname: sessionStorage.hostname
    },
    callback: function(records, operation, success) {
  2. Replies
    2
    Views
    459
    Hi!
    I'm currently in the state of updating my ExtJS 4 application to the 5th version of ExtJS, but I ran into some problems. The biggest of which is, that all my stores seem to be empty. They can...
  3. Replies
    1
    Views
    661
    Hi guys,
    I'm creating a MVC application and I ran into some problems. I've got a treestore as menu and a tabpanel with some items. When I click a specific menu item, let's call it mymenuitem1 or...
  4. Replies
    2
    Views
    270
    And what if I'd have a response like this:


    {
    "success": "true",
    "data": [
    [
    {
    "month": "01",
    "profit": "-100,00"
  5. Replies
    2
    Views
    270
    Hi,
    I've got a JSON server response similar to this:


    {
    "success": "true",
    "data": [
    {
    "corporation": "DEV 1 s.r.o.",
    "dbName": "dev_1_s_r_o_",
  6. Replies
    1
    Views
    305
    Hi,
    I've got a MVC application, which uses a dataview with XTemplate.
    In the tpl, there is a html table with auto-filled data. I want a chart on the right side of the table.
    I've tried something...
  7. Replies
    2
    Views
    321
    Thanks for respnse.
    But I still cannot make the branches tpl work. Is there any solution?
  8. Replies
    2
    Views
    321
    Hi,
    I've got a little problem with designing my models.

    I get this response from server:


    [
    {
    "success": "true",
    "data": {
  9. Replies
    1
    Views
    497
    changed the store to:


    Ext.define('Statistics.store.Menu', {
    extend: 'Ext.data.TreeStore',
    storeId: 'MenuStore',
    autoLoad: true,
    autoSync: true,

    proxy : {
  10. Replies
    1
    Views
    497
    Hi,
    I've got a MVC application., where I use treestore as menu. The treestore is loading from a php script.
    My store:


    Ext.define('Statistics.store.Menu', {
    extend: 'Ext.data.TreeStore',
    ...
  11. Model:


    Ext.define('Statistics.model.Menu', {
    extend: 'Ext.data.Model',

    fields: [
    {name: 'text', type: 'string'},
    {name: 'dbName', type: 'string'},
    ...
  12. Hi,
    I've got a following treestore:


    Ext.define('Statistics.store.Menu', {
    extend: 'Ext.data.TreeStore',
    model: 'Menu',
    storeId: 'MenuStore',
    autoLoad: true,
    autoSync:...
  13. Replies
    9
    Views
    1,223
    IT WORKS!!! :D:D:D:D
    Thank you for help!=D>
  14. Replies
    9
    Views
    1,223
    Can you post the whole code, you tested it on? Just to make sure, I'm not doing something crazy.
  15. Replies
    9
    Views
    1,223
    This is the whole response:


    <meta charset="utf-8" />
    {
    "success": true,
    "root": [
    {
    "text": "Home",
    "leaf": true,
  16. Replies
    9
    Views
    1,223
    thx for reply.
    I've changed the Menu model to:


    Ext.define('Statistics.model.Menu', {
    extend: 'Ext.data.Model',

    fields: [
    {name: 'text', type: 'string'},
    {name:...
  17. Replies
    9
    Views
    1,223
    thx for reply.
    I'm getting following error in chrome console on line 42320(ext-all-debug-w-comments):
    Uncaught TypeError: Cannot read property 'id' of undefined
  18. Replies
    9
    Views
    1,223
    I'm creating a MVC extjs application. I've got a treepanel with a store, which is loading the data from a php source. I get the following json-formatted response:


    {
    "success": true,
    ...
  19. I've changed my json response to:


    {
    "success": true,
    "root":[
    {
    "text": "Home",
    "leaf": true,
    "dbName": "NULL",
  20. Hi, thanks for your reply.
    I've changed the php script, so I get the following answer:


    [
    {
    "text": "Home",
    "leaf": true
    },
    {
  21. Hi,
    I'm creating a MVC application, with Menu TreeStore and I'm trying to configure the proxy to work correctly.
    Here's my JSON:


    {
    "success": true,
    "root": [
    {
    ...
  22. Thanks a lot for your replies the append option is right, what I was looking for.
  23. Thanks for reply.
    Anyway, I can't change the server respond, because I'm loading the data from a remote server.
  24. Hi,
    I'm new to Sencha ExtJS, but I'm trying to write an application in it.

    Unfortunately, I can't figure out, how to create a treestore, where the root nodes will be loaded dynamically and then...
  25. Hi,
    I'm trying to create an application. I want to have menu on the left side and by clicking on the items I want to switch between the views. Can you help me please?
    Thanks for reply
Results 1 to 25 of 26
Page 1 of 2 1 2