Jump to content

carrera

uniGUI Subscriber
  • Posts

    34
  • Joined

  • Last visited

Recent Profile Visitors

593 profile views

carrera's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. hi, Is it possible to execute application (exe or cmd) on service side and wait for finish, before sending the file to client Thanks for any advice
  2. Hi adragan, Yes it is. database display the right result, but not for fast report. I will try your solution. thank you
  3. hi, i got a weird case, when user export data to pdf (fast report) sometimes data display incorrectly, ex.the money display 0.00 on the whole page but after restart IIS everything go back to normal. i've checked Unigui log or IIS log not found any errors. *************** Environment *************** Unigui 1.0.0.1399 Delphi Tokyo 10.2 Database Firebird Fast Report 5.x IIS 6 Windows Server 2003
  4. Hi, file attached. please look in unidbgrid1.OnAjaxEvent and uniDbgrid1.ClientEvent.ExtEvents thank you Unigui Demo.zip
  5. Hi, Delphi Dev if i comment the line e.keyCode = e.TAB; data is always posted, but the next column is not focus (tab is not simulate) Is it possible to update current value just like this thread ? http://forums.unigui.com/index.php?/topic/8511-update-grid-cell-clientside/?hl=complete&do=findComment&comment=43629
  6. Hi, I need to perform default key action before focusing to the next unidbgrid column (change enter key to tab key) because sometimes data is not posted to database for now i use the code : function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { columns[i].editor = { selectOnFocus: true, xtype: 'numberfield' ,minValue: 0 ,allowBlank : false ,groupable : false }; .... if (columns[i].getEditor()) { columns[i].getEditor().on('specialkey', function (field, e) { if (e.getKey() == 13) { // perform default key action, force update current edit value // before focusing to the next column e.keyCode = e.TAB; return e.keyCode; ..... } Environment Windows 10 Delphi Tokyo Unigui 1.0.0.1399 Google Chrome 59.0.3071.115 Thank you
  7. If i want to get value from Another Column, how can i re-write this code Assume user click (Focus) in column B and i need to get value from Column A if (me.column.dataIndex == "2" && ColAValue = "222") { return false; } Thanks
  8. Hi Delphi Dev, I need to revert value before editing or prevent user key into grid if condition met Thanks
  9. Hi, Let's say i have 3 columns in UniDBGrid Row No | ColA | ColB 1 111 + 2 222 + 3 333 - ........ if cursor point on row that ColA Value = '222', i need to disable UniDBGrid key press I Think ExtJS Event can handle this, but not sure how do i call js function function keypress(e, t, eOpts) { var me = MainForm.UniDBGrid1; // not sure how to get dbgrid value in JS // ex. if Dataset.fieldByName('ColA').AsString = '222' then // Key := #0 } Thank you
  10. Hi, I need to check condition in ExtEvents OnKeydown, currently i assign variable by calling UniApplication.UniSession.AddJS('myVar = 1') how can i update myVar or just calling AddJS Again ? Thank you
  11. Hello, I see TUniServerModule has "BlockedIPList" Property but i don't know how to set value to filter specific ip range. ex. if i want to allow only IP: 111.222.*.* (ip begin with 111.222) to access my site how should i have to set in BlockedIPList property ? Thank you
×
×
  • Create New...