extjs

Performance testing using JMeter

爷,独闯天下 提交于 2019-12-11 12:55:45
问题 I am writing a test in JMeter for our web app, but there is one page that loads and then makes an Ajax call using extjs libraries to load an additional piece, and I need to know when that piece loads. How should I go about doing this? can JMeter support extjs libraries? What else do I need to know? Searching the internet I've found some ajax and JMeter resources and a few extjs and JMeter sources, but I have yet to find all three in one place. Thanks in advance! 回答1: JMeter's HTTP request

Rendering a component into an ExtJS grid

扶醉桌前 提交于 2019-12-11 12:54:44
问题 I want to render a split button into a column in a grid to perform actions on each row. I can't seem to figure out how to build a custom cell renderer that will accomplish this. Each cell will have the exact same split button, but will act on the id of the row the split button is in. 回答1: You need to setup a custom renderer for the column, have a look at this example: http://techmix.net/blog/2010/11/25/add-button-to-extjs-gridpanel-cell-using-renderer/ 来源: https://stackoverflow.com/questions

Grid scrolls to top when any row is clicked in ext js

大兔子大兔子 提交于 2019-12-11 12:53:25
问题 I am facing a very strange problem. I have a grid and when i CLICK on any row then grid automatically goes to first record, though the row on which i click is selected but not focused. The problem is strange because when i used that same grid as an example then there was no problem and everything works fine. I really dont understand what could cause this problem? i haven't overridden any listeners to scroll to top either. 回答1: i had following in my code which was causing it so remove this:

itemtap is not getting fired in list

橙三吉。 提交于 2019-12-11 12:48:13
问题 i have loaded json data into list in sencha touch using itemTpl , everything is getting displayed properly as of now but somehow itemtap event of the list is not getting fired. i don't know what is the reason, following is my code where one can see the listeners inside config and nothing happens there. Ext.define('demo.view.ProfileList',{ extend:'Ext.dataview.List', xtype:'profilelist', requires:[ 'demo.store.ProfileStore', 'Ext.plugin.ListPaging' ], config:{ plugins: [{ xclass: 'Ext.plugin

EXTjs: how to read rss feed from ashx page to a store ?

我只是一个虾纸丫 提交于 2019-12-11 12:40:21
问题 I want to get the rss feed of an ashx page to an EXTjs store. It works perfectly with a xml page. but when I test it on an ashx page it doesn't !!! link: http://met.guc.edu.eg/Feeds/Course.ashx?c=240 var store = Ext.create('Ext.data.Store', { autoLoad: true, proxy: { type: 'ajax', url: 'http://met.guc.edu.eg/Feeds/Course.ashx?c=240', reader: { type: 'xml', record: 'item', } }, fields: ['title','category','pubDateParsed'], groupField: 'category', sorters: [{property: 'pubDateParsed', direction

Set page size Sencha touch

本秂侑毒 提交于 2019-12-11 12:15:47
问题 I've been trying to set a page size so that my app runs faster. I'm reading from a huge xml file (thousands of rows) and I want to use the ListPaging plugin to load only one 'page' at a time. Here is my list: xtype : 'list', plugins: { xclass: 'Ext.plugin.ListPaging', autoPaging: true, loadMoreText : 'Loading more...', noMoreRecordsText : 'loaded' }, store : 'mainStore', height : '100%', layout : 'fit', id: 'myList', flex : 5, itemTpl : "foo" Here is my store: config: { model : 'myApp.model

Extjs table/grid auto expand to full

浪子不回头ぞ 提交于 2019-12-11 11:46:55
问题 How do I go about making the gridpanel/table in extjs auto expand based on the window size? Thanks I added layout :'fit'.. i didn't change much var listView = Ext.create('Ext.grid.Panel', { store: mystore, multiSelect: true, title:'Notifications for ' + jsonServiceId + ' <i>(0 items selected)</i>', viewConfig: { emptyText: 'No images to display' }, //reserveScrollOffset: true, renderTo: containerEl, layout:'fit', columns: [{ text: 'Sell', flex: 10, dataIndex: 'Sell', renderer: function(value,

How to set a position to Ext.Msg.show in sencha

半腔热情 提交于 2019-12-11 11:42:14
问题 How can I set a different position for Ext.Msg.show in senchatouch. I have tried using the methods msg.getDialog().getPositionEl().setTop(50); & msg.getDialog().setPosition(undefined,50) However I am getting a error Object [object Object] has no method 'getPositionEl' or Object [object Object] has no method 'getDialog' . I have even checked these methods in my MessageBox.js file in sencha but they do not exist. However almost solution on the net seems to recommend these methods.Experts could

Google Maps API v3: Can I create Place Autocomplete in combobox using ExtJS 4.2?

徘徊边缘 提交于 2019-12-11 11:40:09
问题 I have search this over on google, but no luck finding the solution. I have read this documentation but it just using pure javascript. I have read this from older post created by @Ram, but the answer didn't solve my problem, because I think maybe there's other ideas more tricky way that I don't reach it now from my current knowledge. I have tried using ajax from php to retrieve predictions and to throw away that limitation, this's my php code in c_places.php : function getPlaces(){ $address =

Display math symbols in Ext.js / Sencha Touch

℡╲_俬逩灬. 提交于 2019-12-11 11:39:33
问题 I'm looking for a way to display math symbols and equations (coming from Latex e.g.) in Ext.js / Sencha Touch UI-Components (specifically buttons and textfields). I grasp that "ext.draw.component" might be a good starting point to develop something appropriate. Is there another way to display math? What would be your choice? Anyone came up with a solution for a similar problem already? Any advice appreciated. Best regards, Thomas 回答1: If you all you want to do is display mathematical symbols