mardi 25 novembre 2014
sorting not working on date column in 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?
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
Thank you for reporting this bug. We will make it our priority to review this report.
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 trueLooks 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/1v6gyIJST 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
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.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
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
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