Search:

Type: Posts; User: LeonM

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Ext.ux.GmapPanel in ExtJS6 with sencha CMD

    Hi,

    I am trying to incorporate a google maps panel in my project. The documentation states that I need to include the google jsapi in my index.htm, which I did, but I can't get sencha cmd to work...
  2. [6.0.1] Store.filter ahould return filter object

    When applying a filter to a store:



    filter_obj = store.filter('name', 'John')


    The filter() method does not return the filter object. You need this if you have multiple filters on a store,...
  3. Replies
    18
    Views
    412

    In the 6.0 docs "Class System" page...

    In the 6.0 docs "Class System" page (http://docs.sencha.com/extjs/6.0/core_concepts/classes.html)

    The very first example about Bob Eating a salad is wrong.


    bob.eat("Bob"); // alert("Bob is...
  4. I thought of that, but the problem is that Ext...

    I thought of that, but the problem is that Ext components are always (?) wrapped in a div or span, thus when the HTML template gets slightly more complicated it will break.

    Say for example that I...
  5. Add items to panel at a certain position of its content (not insert at index!)

    Consider the following panel:



    Ext.create('Ext.panel.Panel', {
    layout: 'fit',
    title: 'parent',
    height: 400,
    width: 400,
    html:
  6. Replies
    2
    Views
    659

    Thanks :) This did the trick for me: ...

    Thanks :)


    This did the trick for me:



    editor: {
    xtype: 'textfield',
    tooltip: Ext.create('Ext.ToolTip', {
  7. Replies
    2
    Views
    659

    CellEditing tooltip

    I'm want to give the users a tip on how to fill certain cells in a grid with cell editor pluging.

    I came up with this:


    plugins: Ext.create('Ext.grid.plugin.CellEditing', {
    listeners: {
    ...
  8. Very nice plugin! Just what I was looking for :)...

    Very nice plugin! Just what I was looking for :)


    For those from Europe, you might want to use this:



    Ext.define('Ext.ux.form.EuroField', {
    extend: 'Ext.ux.form.NumericField',
    ...
  9. Replies
    2
    Views
    1,197

    My solution was not as good as I thought, I still...

    My solution was not as good as I thought, I still ended up with classes instantiated before the API was fully loaded. I found a better way to do it.

    - Removed all controllers from...
  10. Replies
    2
    Views
    1,197

    Got it! - Removed views and...

    Got it!


    - Removed views and autoCreateViewport configs from Ext.application to make sure nothing gets loaded that depends on the API definition
    - called api loader function from...
  11. Replies
    2
    Views
    1,197

    Delay app init until Ext.direct API is loaded

    I use Ext.direct to implement a third party API. The server configuration (list of exposed methods to the client) gets downloaded through AJAX, like this:



    Ext.Ajax.request({
    url:...
  12. How to determine which model a model belongsTo?

    Ok, so the title of this thread may be a bit confusing, let me try to explain my problem.

    I am currently interfacing an existing application build with ExtJS to a new API provided by a third...
  13. Replies
    1
    Views
    730

    Now that I think of it, the rowCtxMenu is...

    Now that I think of it, the rowCtxMenu is rendered using showAt(), so it probably doesn't have a parent at all.

    I could set a variable in the 'rowcontextmenu' event hander of the grid, that points...
  14. Replies
    1
    Views
    730

    Reusable tbar + rowCtx for Grids

    I am trying to make standardized reusable menu's for certain type of grids (IE a grid with usernames or a grid with adresses). I want to have the same buttons in both the topbar and the rowctxmenu.
    ...
  15. Replies
    1
    Views
    947

    Nevermind, solved it. There was a

    Nevermind, solved it.

    There was a


    <div id="paneldiv" style="position:absolute; top:0;left:0; height:100%; width:100%;"></div>


    Somewhere in the HTML code...
  16. Replies
    1
    Views
    947

    ViewPort items not clickable

    I use a viewport, with a panel with a card layout as the only item. Using ext 3.3.1.

    The page renders just fine, but I cannot click anywhere, the whole page seems "masked". The buttons in the bbar...
  17. Replies
    2
    Views
    931

    Thanks Connor, that is exactly what I needed!...

    Thanks Connor, that is exactly what I needed! Works like a charm
  18. Replies
    2
    Views
    931

    Form loaded using JSON is always dirty?

    When using a formPanel, that is loaded using:



    loadForm = function(){
    myForm.load({
    url: './api/GetUserInfo.php' //returns JSON string
    });
    Where the form uses a JSONReader tot...
  19. Well, one tab contains a grid, so I figured I had...

    Well, one tab contains a grid, so I figured I had to use a TabPanel instead of a single form with tab layout. As far as I know, it is not possible to split a single form over multiple tabs of a...
  20. Enable/disable forms/fields depending on user level

    I have a form with multiple tabs that allows users to update their account information and various other preferences.

    Depending on the level of the user (guest/registered user/local...
  21. Replies
    0
    Views
    550

    Custom numberfield not working on rowchange

    Hello,

    I have an editorGrid with rowSelectionModel. Users enter information in this grid, but because there are both european as american users, I use a custom numberfield editor to accept both...
  22. Thanks Condor, that works just fine! But how...

    Thanks Condor, that works just fine!

    But how was I supposed to know about this feature? De API Documentation does not mention return values under editorGrid->beforeedit
  23. Prohibit further editing of editorGrid after false input

    I have a grideditor with rowselect model. Users enter data in the rows and on each rowchange a sanity check is performed on the user input using the rowDeselect event. (fires upon a rowchange)...
  24. Replies
    6
    Views
    4,641

    That works great! This also learned me how to...

    That works great! This also learned me how to make my own field types.

    Thanks!
  25. Replies
    6
    Views
    4,641

    Unfortunately that is not an acceptable solution,...

    Unfortunately that is not an acceptable solution, ALL users need to be able to use both.
Results 1 to 25 of 33
Page 1 of 2 1 2