Search:

Type: Posts; User: sveatlo

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    459

    Using stores with MVVM architecture

    Hi,
    I'm creating a new application and I've chosen ExtJS 5 as my framework. I've a lot of experience with MVC architecture, but this is my first one with MVVM. My question is: How should I register...
  2. Thread: stores empty?

    by sveatlo
    Replies
    2
    Views
    814

    In controller: ...

    In controller:



    Ext.getStore('MenuStats').load({
    params: {
    auth: sessionStorage.authSessionId,
    hostname: sessionStorage.hostname
    },
    callback: function(records, operation, success) {
  3. Thread: stores empty?

    by sveatlo
    Replies
    2
    Views
    814

    stores empty?

    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...
  4. Replies
    1
    Views
    949

    Reload tab data on tabchange

    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...
  5. Replies
    2
    Views
    348

    And what if I'd have a response like this: {...

    And what if I'd have a response like this:


    {
    "success": "true",
    "data": [
    [
    {
    "month": "01",
    "profit": "-100,00"
  6. Replies
    2
    Views
    348

    chart foreach record

    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_",
  7. Replies
    1
    Views
    404

    panel/chart in tpl

    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...
  8. Replies
    2
    Views
    395

    Thanks for respnse. But I still cannot make the...

    Thanks for respnse.
    But I still cannot make the branches tpl work. Is there any solution?
  9. Replies
    2
    Views
    395

    problem with model designing

    Hi,
    I've got a little problem with designing my models.

    I get this response from server:


    [
    {
    "success": "true",
    "data": {
  10. Replies
    1
    Views
    632

    changed the store to: ...

    changed the store to:


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

    proxy : {
  11. Replies
    1
    Views
    632

    treestore changes on expand

    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',
    ...
  12. Replies
    3
    Views
    632

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

    Model:


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

    fields: [
    {name: 'text', type: 'string'},
    {name: 'dbName', type: 'string'},
    ...
  13. Replies
    3
    Views
    632

    record.get('string') returns undefined

    Hi,
    I've got a following treestore:


    Ext.define('Statistics.store.Menu', {
    extend: 'Ext.data.TreeStore',
    model: 'Menu',
    storeId: 'MenuStore',
    autoLoad: true,
    autoSync:...
  14. Replies
    9
    Views
    1,497

    IT WORKS!!! :D:D:D:D Thank you for help!=D>

    IT WORKS!!! :D:D:D:D
    Thank you for help!=D>
  15. Replies
    9
    Views
    1,497

    Can you post the whole code, you tested it on?...

    Can you post the whole code, you tested it on? Just to make sure, I'm not doing something crazy.
  16. Replies
    9
    Views
    1,497

    This is the whole response:

    This is the whole response:


    <meta charset="utf-8" />
    {
    "success": true,
    "root": [
    {
    "text": "Home",
    "leaf": true,
  17. Replies
    9
    Views
    1,497

    thx for reply. I've changed the Menu model to: ...

    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:...
  18. Replies
    9
    Views
    1,497

    thx for reply. I'm getting following error in...

    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
  19. Replies
    9
    Views
    1,497

    extjs treestore with proxy

    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,
    ...
  20. Replies
    3
    Views
    941

    I've changed my json response to: { ...

    I've changed my json response to:


    {
    "success": true,
    "root":[
    {
    "text": "Home",
    "leaf": true,
    "dbName": "NULL",
  21. Replies
    3
    Views
    941

    Hi, thanks for your reply. I've changed the php...

    Hi, thanks for your reply.
    I've changed the php script, so I get the following answer:


    [
    {
    "text": "Home",
    "leaf": true
    },
    {
  22. Replies
    3
    Views
    941

    TreeStore with proxy loading JSON

    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": [
    {
    ...
  23. Replies
    4
    Views
    753

    Thanks a lot for your replies the append option...

    Thanks a lot for your replies the append option is right, what I was looking for.
  24. Replies
    4
    Views
    753

    Thanks for reply. Anyway, I can't change the...

    Thanks for reply.
    Anyway, I can't change the server respond, because I'm loading the data from a remote server.
  25. Replies
    4
    Views
    753

    dynamic root nodes and static children

    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...
Results 1 to 25 of 27
Page 1 of 2 1 2