Jump to content

Sherzod

Moderators
  • Posts

    19781
  • Joined

  • Last visited

  • Days Won

    642

Everything posted by Sherzod

  1. Hello, Sorry, can you please specify which edition and build of UniGUI are you using?
  2. ajaxRequest(sender, '_cellclick', ["colIndx="+location.columnIndex]);
  3. Ok, I will try to analyze.
  4. As I understand it, you also want to change the value of the third column, changing the percentage?
  5. Can you try to use this approach? procedure TMainForm.UniFormReady(Sender: TObject); // OnReady event begin with UniChart1 do // your UniChart begin JSInterface.JSConfig('colors', [JSInterface.JSStatement('["red", "yellow", "blue", "#ff7788"]')]); //or more colors JSInterface.JSCall('chart.series[0].setRenderer', [JSInterface.JSFunction('sprite, record, attributes, index, store', ' if (record) {'+ ' if ('+ JSName +'.colors[index]) {'+ ' attributes.fill = '+ JSName +'.colors[index];'+ ' }'+ ' }'+ ' return attributes;' )]); end; end;
  6. OK, try to use like this: function window.afterrender(sender, eOpts) { Ext.onReady(function() { ConvertNumberToPersion(); }); function ConvertNumberToPersion() { persian = { 0: '۰', 1: '۱', 2: '۲', 3: '۳', 4: '۴', 5: '۵', 6: '۶', 7: '۷', 8: '۸', 9: '۹' }; function traverse(el) { if (el.nodeType == 3) { var list = el.data.match(/[0-9]/g); if (list != null && list.length != 0) { for (var i = 0; i < list.length; i++) el.data = el.data.replace(list[i], persian[list[i]]); } } for (var i = 0; i < el.childNodes.length; i++) { traverse(el.childNodes[i]); } } traverse(document.body); } }
  7. Thanks. Have a nice day!
  8. Hello, Very interesting. That's what I found on the Internet... “The latest versions of Raspbian OS have a completely modern Chromium browser capable of correctly displaying even complex web pages. So if you need to display Jira tickets, stock quotes of your company, train schedules, or at least the weather forecast, Raspberry Pi can handle such a task. It's simple enough and does not require any programming, you just need to run Chromium in kiosk mode, hide the mouse cursor and turn off the screensaver. "
  9. Hello, Please adjust your forum email address.
  10. Hello, Sorry, Can you make a specific example for your case?
  11. Can you make a simple testcase for this?
  12. http://forums.unigui.com/index.php?/topic/8946-passing-clients-apparent-public-ip-to-unigui-session-on-login-button-click/&amp;do=findComment&amp;comment=72178
  13. Hi, There is no way for a web app to accurately determine the client IP address. You can identify the user, in the simplest case, through cookies.
  14. If I understand you correctly. Well, when you use calculated fields, it’s better to set this field as not editable.
  15. Maybe, something like this? MainForm.Script: window.addEventListener('unload', function(){ document.cookie = "reloaded=yes" });
  16. Hi, Once again in brief, what do you want to achieve?
×
×
  • Create New...