Search Type: Posts; User: crysfel

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    111
    Hi There!

    I have created a package using the sencha cmd, in there I have custom components that I want to share across multiple sencha touch applications, I already have some components working...
  2. Hi Guys!

    I'm creating a custom theme, when I run the following command I'm able to compile my :



    $ sencha package build


    However, it takes a lot of time because it also slice images, my...
  3. I have found a solution for this :D

    I have created this new ant task in the build-impl.xml file:


    <target name="-to-public" description="Copy the build to the public folder">
    ...
  4. Hi folks!

    I would like to chenge the path of the build folder, I found a property for that under the file

    .sencha/workspace/sencha.cfg

    ...
  5. Are you using a single web page application? or you just want to display the data in a second html page? how do you want do display your data, in a panel? in a form? a grid maybe?

    Regards
  6. If you want to use icons inside of a XTemplate you should use inline-icon mixing instead:



    .my-custom-class-with-icon{
    @include inline-icon('minus');
    }
    .my-custom-class-with-icon:before{...
  7. Replies
    1
    Views
    246
    What I usually do in these situations is to create the panel/chart or any other component that I need in the onRender method of the class, this way I can render the component anywhere I want using...
  8. Inside of the html property you can add any HTML code that you want but if you want the text to be dynamic you should use the tpl and data properties instead.
  9. You can try the references:



    Ext.define('YourApp.controller.Main',{
    extend : 'Ext.app.Controller',

    refs : [
    {ref:'grid',selector:'acontainer anotherpanel...
  10. The red triangle appears because the node is marked as dirty every time you change the original value of the field, in order to remove that triangle (or in other words make it clean) you need to...
  11. You need to add a writer to your store, this way every time you add/update/remove a record, the store will synchronize your store with your server.

    Regards
  12. In order to create a new theme and add support for legacy browsers (IE), you need to use images for gradients, rounded corners and so on.

    There's a tool that you can use to generate the images...
  13. The class looks fine, how are you creating the instance?
  14. Instead of harcoding the columns you should create the array of columns dynamically, something like this:



    var columns = [];

    if (attrData.length > 0) {
    for (var prop in...
  15. Yes, it's possible to extend any class in the framework. I do it all the time :D
  16. Replies
    2
    Views
    4,487
    Sure, there is! Take a look a the Ext.util.Animation class: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.util.Animate



    var p1 = Ext.get('myElementId'); //Getting a dom element by ID
    ...
  17. Will be deprecated also in the request method of the connection class?
  18. Do you have any error on the javascript console?
  19. Use the jsonData parameter instead of the extraParams :D

    Regards
  20. The easiest way to do it is to just make a regular ajax request, create the correct object structure and then load the store.



    Ext.Ajax.request({
    url : 'data.json',
    success :...
  21. You can use the mapping property of the fields to specify the path from the value will be extracted.



    Ext.define('MyApp.model.MyModel',{
    extend : 'Ext.data.Model',

    fields : [
    ...
  22. That's because in IE the components are rendered in different way than on modern web browsers such as firefox or chrome.

    In the case of the buttons, they are rendered (on IE) using a <table> and...
  23. Replies
    6
    Views
    995
    It's very important to have a good knowledge of Object Oriented Programing before start using Ext, that will help you a lot!! ;)
  24. Replies
    10
    Views
    1,851
    You should listen for the cellclick event of the grid and then evaluate if the link was clicked, something like this.



    var grid = new Ext.grid.GridPanel({
    //...
    ...
  25. Replies
    10
    Views
    1,851
    You can use the renderer property on the column configuration:



    {
    text : 'Testing',
    dataIndex: 'something',
    renderer : function(value){
    return '<a href="'+value+'">This is a...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4