Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12114
  • Joined

  • Last visited

  • Days Won

    805

Everything posted by Farshad Mohajeri

  1. If you deploy Ext JS using runtime installer then you must set ExtRoot->[ext]
  2. I really don't know. designide package has nothing to do with SynEdit_R2012 which is a runtime package.
  3. You need to build all packages starting from SynEdit_R2012. Simply call Build All command.
  4. procedure TMainForm.btnSetTextClick(Sender: TObject); begin UniSession.AddJS('tinyMCE.get("ed1").setContent('+StrToJS(UniMemo1.Text)+')'); end;
  5. It is related to way browser handle images. Some browsers clear the image place holder before loading a new one. Instead of uniImage you can use TUniCanvas to render images. It should resolve flickering.
  6. Yes, we may encode parameters internally. Logged #1290
  7. Output text must be encoded first. Modify below line: procedure TMainForm.btnGetTextClick(Sender: TObject); begin UniSession.AddJS('ajaxRequest(MainForm.form, "mce", ["text="+encodeURIComponent(tinyMCE.get("ed1").getContent())])'); end;
  8. Also, you should profile your app and find out where that 6 secs is actually spent.
  9. 2008 is more common and with more options but needs more resources. 2003 can be run with relatively lower resources. If your VPS has less than 512MB RAM, win2003 seems to be a better option. I prefer IIS over Apache for ease of management through its advance user interface..
  10. It can be fixed as soon as I can reproduce it. In your pics there are only 3 records in grid. It is very unlikely to take 6 secs to move from a row to another. Can you reproduce same thing with a grid attached to a local TClientDateset? PS: Is grid in above pic a DBGrid or a StringGrid?
  11. It worked here, but I only tested in desktop firefox.
  12. Easy: 1) Add below JS code to MainForm's Script property Ext.override(Ext.Panel, { afterRender: Ext.Panel.prototype.afterRender.createSequence(function() { if (this.getXType() == 'panel') { this._getIScrollElement = function() { return (this.el.child('.x-panel-body', true)); } } //Uncomment below to use iScroll only on mobile devices but use regular scrolling on PCs. if (this.autoScroll /*&& Ext.isMobileDevice*/) { if (this._getIScrollElement) { this._updateIScroll(); this.on('afterlayout', this._updateIScroll); } } }), _ensureIScroll: function() { if (!this.iScroll) { var el = this._getIScrollElement(); if (el.children.length > 0) { this.iScroll = new iScroll(el); this.iScrollTask = new Ext.util.DelayedTask(this._refreshIScroll, this); } } }, _updateIScroll: function() { this._ensureIScroll(); if (this.iScroll) { this.iScrollTask.delay(1000); } }, _refreshIScroll: function() { this.iScroll.refresh(); //Refresh one more time. this.iScrollTask.delay(1000); } }); Ext.override(Ext.tree.TreePanel, { _getIScrollElement: function() { return (this.el.child('.x-panel-body', true)); } }); Ext.override(Ext.grid.GridPanel, { _getIScrollElement: function() { return (this.el.child('.x-grid3-scroller', true)); }, afterRender: Ext.grid.GridPanel.prototype.afterRender.createSequence(function() { //TODO: need to hook into more events and to update iScroll. this.view.on('refresh', this._updateIScroll, this); }) }); 2) Download iScroll.js file and add it to UniServerModule->CustomFiles
  13. You can try cleaning browser cache.
  14. Among IEs only IE9 supports HTML5 audio, but apparently it doesn't work as expected. If you need complete cross browser compatibility you must use a flash plugin instead.
  15. You can set the UniServerModule->ExtLocale parameter to a proper value. 1. Yes you must implement saving column sizes. 2. I think you can achieve this by some code. 3. Possibly we can implement a similar feature it in next versions. Issue tracker is not publicly open. There are many requests to make it open. We will see. To avoid flicker your grid must be big enough to hold all its contents without a need for scroll bars.
  16. I can't reproduce it with chrome v18.0 Can you test with our mega demo: http://prime.fmsoft.net/demo/ucdemo.dll
  17. Put this in servermodule.customCss textarea { overflow:auto; } But it only works for IE.
  18. Not now. You need to pay when commercial release is available and you want to continue development using it.
  19. Only solution is to write an event handler in JS. function Onclick(sender) { // do your stuff first // open the link }
  20. There is no way to achieve this. Web works in an asynchronous manner which mean both events start at the same time.
×
×
  • Create New...