Hybrid View

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    17
    Vote Rating
    0
    Dark Master is on a distinguished road

      0  

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

    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 - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,781
    Vote Rating
    167
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      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 recruiting manager: sheryl@sencha.com

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    17
    Vote Rating
    0
    Dark Master is on a distinguished road

      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
    pisystem is on a distinguished road

      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
    0
    reymo is on a distinguished road

      0  

    Default


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

    Is there any available.