Search Type: Posts; User: olivierpons

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. I found it, it was the property


    submitFormat: 'Y-m-d H:i:s',

    Thus the component is declared like this:


    { fieldLabel: 'Date start ',
    name: 'date_debut',
  2. Hi,

    I'm defining my model like this:


    Ext.define('Gestion.Horaire', { extend: 'Ext.data.Model',
    fields: [
    {
    name: 'date_end',
    type: 'date',
  3. Thank you very much for following this, I have small problems with grids, I suppose it has something to do with my code, so I'll try yours and if things come better I'll let you know :)

    Olivier...
  4. I've tried it, but is doesn't appear "grayed" and the user interaction is "broken" (= the user doesn't know he can't change it).

    And when the user clicks on the other checkbox (the one that...
  5. Hi,

    I've made custom form with some fields.
    When the user checks one checkbox, some other fields are disabled.
    This is just visual, I still need to send all the values.

    The problem is that
    ...
  6. Here there's a documentation

    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.ux.layout.Center

    and here there's an example:
    ...
  7. @Tim that was perfect, thank you. Here's the code (hope this helps someone some day):



    Ext.define('Ext.data.StoreHandleErrors', {
    extend: 'Ext.data.Store',
    alias:...
  8. I've been looking for it for such a long time, and (from my own point of view) this is a basic behavior that should've been done a long time ago: you sort a grid by a column, say "NAME", you modify a...
  9. Because I need it to "load it dynamically".

    To be more precise here's what I do:

    - the main html file (= index.php) is downloaded on a specific domain "www.domain.com"
    - all the static files...
  10. Hi!

    After two days of struggling, I've made my own `Ext.data.Store` class that works (see code below).

    Note that, even though all the configuration of the proxy and its writer are taken in...
  11. Ok here's my whole code. I don't know if it's the right way to do it but it works, and it seems "generic" enough for me.

    First part: create a descendant of Ext.data.Store, and create a "default...
  12. \o/

    Found it!

    It seems the initComponent function is not called with Ext.data components.

    But when examining the code, constructor is always called. I don't know if it's "safe" but it works...
  13. Thank you very much for your answer. The code you give works, but it's not "universal".

    I'm working on making a universal "code".

    Here's what I did: I've added a log, and it shows "this", so...
  14. Hi!

    Here's what I've done (and it works): declare two functions:


    var fnStoreAfterWrite=function(proxy, operation) {
    Ext.example.msg(
    Ext.String.capitalize(operation.action),
    ...
  15. Replies
    10
    Views
    2,792
    Now everything seems to work, no matter the version.

    I don't know which modifications made it work, but it's probably because I've made some changes, but I'm working on it 8hours/day so it's...
  16. Replies
    10
    Views
    2,792
    I've tested it on ExtJS Build date: 2012-03-13 14:31:45 (92d45716fd5f49811568ad9d756992f1cced424d)

    Is it the RC3? If no, may I ask you to give me a link to the RC3?
    Thank you very much!
  17. Replies
    10
    Views
    2,792
    Could you add some of your code?
  18. Hi,

    Before explaining my problem, it's important to say that I'm using my overriden JSON writer object for nested records you can find here.

    I've done a "main" grid, with a form linked to this...
  19. Replies
    519
    Views
    109,104
    Ext.data.Store : getById( String id ) : Ext.data.Model


    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Store

    This is not always a string because the comparison in the source code is a...
  20. Replies
    10
    Views
    2,792
    I didn't turn off autosync, because all my components are based on autosync(), so I've given up on this problem, and I've written and "update" routine that is based merely on the fields given, with...
  21. Replies
    10
    Views
    2,792
    Hi!

    I've made a store this way:


    var storeAttributs = Ext.create('Ext.data.Store', {
    model: 'Intranet.AttributValeur',
    autoLoad: true,
    autoSync: true,
    proxy: {
  22. You have a very good example here: http://docs.sencha.com/ext-js/4-0/#!/guide/forms
  23. Take a look at a very similar question here :

    http://www.sencha.com/forum/showthread.php?141957-Saving-objects-that-are-linked-hasMany-relation-with-a-single-Store
  24. Hi!

    Using the examples/shared/examples.js
    sample, it does slideIn then fade out with ghost:


    m.slideIn('t').ghost("t", { delay: 1000, remove: true });

    I'd like to add a function as a param...
  25. As for deleted records, I just send the whole "current" records, which implies deletion then re-write of records.

    It's acceptable in all the situations where there's a very few recursive nested...
Results 1 to 25 of 115
Page 1 of 5 1 2 3 4