Results 1 to 5 of 5

Thread: how can i get 2 or more columns in the desktop shortcuts? [SOLVED]

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    17
    Vote Rating
    0
      0  

    Default how can i get 2 or more columns in the desktop shortcuts? [SOLVED]

    Hi all.
    i'm trying the web desktop, so i want to get more shortcuts.
    i'm trying to decipher the code so i think that the shortcuts part is this.

    Code:
      createDataView: function () {
            var me = this;
            return {
                xtype: 'dataview',
                overItemCls: 'x-view-over',
                trackOver: true,
                resizable :true,
                itemSelector: me.shortcutItemSelector,
                store: me.shortcuts,
               // shrinkWrap : true,
                style: {
                    position: 'absolute'
                },
                x: 0, y: 0,
                tpl: new Ext.XTemplate(me.shortcutTpl)
            };
        },
    but i can't make a change, even if something change when i click a shortcut the dataview get back to the initial config.

    thanks for your time.

  2. #2
    Sencha - Documentation Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,162
    Vote Rating
    257
      0  

    Default

    You'll need to modify the template used for the dataview (me.shortcutTpl) which can be any html / css / xtemplate markup you'd like.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    17
    Vote Rating
    0
      0  

    Default

    thanks a lot, i saw your mensaje and now i have 3 columns

  4. #4
    Sencha User
    Join Date
    Dec 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default

    Hi. I'm trying to do the same. And the columns should expend dynamicly, if the heigth is to small.
    Sorry, but I don't understand how to modify the template. Do you have an example?
    Thank you and best regards

  5. #5
    Sencha User
    Join Date
    Apr 2014
    Posts
    5
    Vote Rating
    3
      0  

    Default

    I also like to have an example how this can be done.

    Is there any available.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •