extjs

EXTJS ajax request

给你一囗甜甜゛ 提交于 2019-12-11 07:47:52
问题 in extjs, i am trying to make the save button to do the following when clicked. people.java is the controller. var letssay = function() { Ext.Ajax.request({ url : 'people.java', method: 'POST', params :{'firstname': firstname}, success: function ( result, request ) { What I do is make function letssay and call it under button. But it doesn't respond correctly. What am I doing wrong here? buttons: [{ text: 'Save', handler: function(){ letssay(); 回答1: Java classes need to be compiled and served

GridPanel data not rendered when loaded after initalization

孤街浪徒 提交于 2019-12-11 07:45:40
问题 I am quite new to ExtJS so this may be silly question. I have a custom Panel, extending Ext's Panel class, which does an AJAX call and should create and populate an inner GridPanel with data obtained (columns are dynamic, so I can't prepare the grid earlier). webService 's first parameter is a callback function called with data when AJAX call encapsulated in webService object succeeds. By now, I'm trying to populate my TablePortlet with hardcoded data and it works well when renderCallback

FormattedID is not getting generated for new feature record

喜你入骨 提交于 2019-12-11 07:41:28
问题 In the code below I am trying to copy a existing feature, and for that creating a new object as DeepCopy function is not working for me. But formattedId is not getting generated for new feature object Rally.onReady(function() { var newObj = {}; Ext.define('CustomApp', { extend: 'Rally.app.App', componentCls: 'app', autoScroll: true, launch: function() { Ext.create('Rally.ui.dialog.ChooserDialog', { //model: 'PortfolioItem/Feature', //fetch: ['FormattedID','Name','UserStories'], width: 450,

How to run a sencha touch project in Xcode emulator

冷暖自知 提交于 2019-12-11 07:38:26
问题 Am creating a App using sencha touch. Am testing the app using chrome, its working fine. Now am moving to Mac OS so i have to run the same app in Xcode to test . Dont know how to run the sencha project in xcode. Please direct me in right direction. Your help is much appreciate. Thanks in advance.. 回答1: You need to use PhoneGap to host it. Have a look at PHONEGAP + XCODE4 Basically, create a PhoneGap project and put you sencha touch stuff in www folder. Here is another article, which uses

Is it possible to convert the old Rally Task Board to the new Cardboard

六月ゝ 毕业季﹏ 提交于 2019-12-11 07:37:39
问题 I've been playing around with Rally app customizations for about the past month now and have been impressed with the features that are available. I've been throwing the idea around to develop the legacy "Task Board" app over to the new Cardboard-style app. I've searched on GitHub and all of the documentation for similar endeavours but it always seems like individuals just try to update the legacy app. I would like to know if this is because of existing limitations with the Cardboard

ExtJS 6 app.js does not updates after new production release

青春壹個敷衍的年華 提交于 2019-12-11 07:37:30
问题 We are using Extjs 6 and we are using sencha cmd to build our application. We are facing one issue. Every time we release production version of our application like 6.3 to 6.4, bundled app.js does not get updated and browser take that file from (from disk cache) . So every time we have to tell our users that please clear your browser's cache after you got new release. That's annoying . This is my app.json file. "output": { "base": "${workspace.build.dir}/${build.environment}/${app.name}",

check item icon in sencha

跟風遠走 提交于 2019-12-11 07:37:20
问题 I am new at Extjs and Sencha. i started to design my UI and i could successfully add an iconCls with buttons. now i need to add icon to a checkitem menue http://dev.sencha.com/deploy/ext-4.1.0-gpl/docs/index.html#!/api/Ext.menu.CheckItem but i couldn't ! even though i use iconCls property. anyone have done this before ? 回答1: If you just want the icon right next to the text, you can just insert an image after the menu item is rendered Ext.create('Ext.menu.Menu', { width: 100, height: 200,

Ext JS 6 colorfield UX - show color instead of value

爱⌒轻易说出口 提交于 2019-12-11 07:29:29
问题 Trying to use the colorfield UX and the default is that after you choose a color it shows the hex value of that color in the picker. My users don't know what that means... how can I instead set the background-color of the picker to the chosen color (without the text hex value)? Thanks! fiddle 回答1: You cannot easily remove the value from the input field, because that would cause issues with the picker and form submission. You can, however, adjust both text color and background color: listeners

How to reverse an Axis in Sencha ExtJS Charts?

╄→гoц情女王★ 提交于 2019-12-11 07:28:49
问题 I have a line chart with x Axis being numeric and y axis being numeric as well. I want the y axis to be reversed so that higher values are at the bottom of the axis and lower values at the top. I looked at the API Docu and didnt find a config to reverse the axis or so. Any clues? 回答1: In ExtJS 3 there was a reverse config option to get this going. With ExtJS 4 you have to use workarounds. For reverting the x axis values you could use the sorters property of the store connected to the chart.

Click event in combobox inside Rowexpander Not Working

别等时光非礼了梦想. 提交于 2019-12-11 07:26:20
问题 I'm using a Nested grid with Row Expander plugin. everything is working fine but inside the rowexpander a combo box, which resides inside the 2nd grid, not dropping down when mouse click event is fired. The combo working properly when the Down/Up arrow keys. This is happening only when I use Chrome/Mozilla. Click event works fine with IE. 来源: https://stackoverflow.com/questions/49029199/click-event-in-combobox-inside-rowexpander-not-working