mardi 25 novembre 2014

Using different index files in dev and production

sorting not working on date column in grid

Sorting not working properly for date column in a grid

{

xtype: 'panel',

frame: false,

border: true,

widthRatio: 0.70,

flex: 1,

layout:'fit',

autoScroll: true,

items :[{

xtype: 'gridpanel',

store: 'RFQInfoGridStore',

width: '100%',

itemId: 'RFQInfoGridId',

flex: 1,

columns:[

{

text: 'Respond By Date',

flex: 1,

dataIndex: 'rfqResponseDueDate',

xtype: 'datecolumn',

dateFormat: 'Y-m-d',

sortable: true

}],

}


---- Following is the data model----

Ext.define('GPS.model.RFQInfoGridModel', {

extend: 'Ext.data.Model',

fields: [

{name:'rfqResponseDueDate', type:'date', dateFormat:'Y-m-d'}

]


});


Value that is returned from server in JSON response is 2014-10-01






sorting not working on date column in grid

PackagesDemo huh?

There are two workspaces in the packages demo, but they no not share anything with each other?

Have I overlooked something?


The project shows how to share code within a workspaces.


I do not understand why the second workspace exists.


The demo is completely contained in either WS1 or WS2. They do not talk to each other.


Do I have that right ?!


To share code between workspaces, I'd need to set up a local repo alongside Cmd?






PackagesDemo huh?

ST 2.4 failed to detect Windows Phone 8.1 on NOKIA Lumia 520



  1. Thank you for reporting this bug. We will make it our priority to review this report.







  2. Default ST 2.4 failed to detect Windows Phone 8.1 on NOKIA Lumia 520



    ST 2.4 failed to detect Windows Phone 8.1 on NOKIA Lumia 520





    I'm testing my app with ST 2.4 on NOKIA Lumia 520 (Windows Phone 8.1) but ST reports it is Android Phone.

    Ext.os.is.WindowsPhone is undefined

    Ext.os.is.Android4 is true

    Looks like this phone has a custom user agent for WP 8.1 so ST detected it as Android Phone instead of Windows Phone.

    Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537
    More info in this link: http://ift.tt/1v6gyIJ


    ST should support for this phone (the same way as it did with HTC devices)















ST 2.4 failed to detect Windows Phone 8.1 on NOKIA Lumia 520

Combobox behavior/feature not same between browser, relative to removing choice



  1. You found a bug! We've classified it as



    EXTJS-15931
    .

    We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.







  2. Default Combobox behavior/feature not same between browser, relative to removing choice



    Combobox behavior/feature not same between browser, relative to removing choice





    I'm using Ext JS so that I don't need to bother between browser inconsistency.

    But when I'm using Sencha Ext JS examples at: http://ift.tt/1p7CmdT we can see different behavior/feature about option of removing selection in combobox, see:


    IE:

    IE combobox.PNG

    Chrome:

    chrome combobox.PNG


















Combobox behavior/feature not same between browser, relative to removing choice

Timeout sencha touch on Ipad

I am having an issue with my hybrid app on iOS, concretely I am working with Sencha Touch and the desktop version It works correctly with the specified timeout (5 min) but in the iOS version is not working properly, (after 60 seconds fires the timeout message) it hasn´t "getting" the timeout value. I don´t know the cause but I have seen this link with a similar problem.

http://ift.tt/15ooqds

I tried this code but it is not working...

Code:



if (Ext .os.is .iPad){


Code:



setTimeout(Ext.emptyFn(),timeout);
}







Timeout sencha touch on Ipad

CheckboxGroup cutting off long boxLabels

When I display a CheckboxGroup in a menu, my long boxLabels get cutoff. I don't know what labels will be passed ahead of time so I can't just specify a static width. How can I keep my boxLabels from being cutoff?

See the example code below. It's also available as a jsfiddle.



Code:



<html>
<head>
<title>Ext JS Checkbox Group Example</title>
<link rel="stylesheet" type="text/css" href="http://ift.tt/1xzPE7z">
<script type='text/javascript' src="http://ift.tt/1xzPE7C"></script>
<script type='text/javascript' src="http://ift.tt/1rbCe5f"></script>


<script type='text/javascript'>//<![CDATA[
window.onload=function(){
Ext.onReady(function(){
var checkboxGroup = new Ext.form.CheckboxGroup({
columns: 2,
items: [
{boxLabel: 'Transaction Date', name: 'cb-horiz-1'},
{boxLabel: 'Item foo', name: 'cb-horiz-2', checked: true},
{boxLabel: 'Transaction Amount', name: 'cb-horiz-3'},
{boxLabel: 'Item bar', name: 'cb-horiz-4'},
{boxLabel: 'Retailer Site Start Date', name: 'cb-horiz-5'}
]
});

var button = new Ext.Button({
text: 'Display...',
menu: new Ext.menu.Menu({
plain: true,
items: [
checkboxGroup
]
})
});

var panel = new Ext.Panel({
title: 'Checkbox Group Example',
frame: true,
renderTo:'viewport',
items: [
button
]
});
});
}//]]>
</script>
</head>
<body>
<div id='viewport'></div>
</body>
</html>





CheckboxGroup cutting off long boxLabels