Jump to content

carrera

uniGUI Subscriber
  • Posts

    34
  • Joined

  • Last visited

Everything posted by carrera

  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
  12. sorry,please ignore this post, i just saw "ShowTrigger" Boolean property of UniDBNumberEdit
  13. Hi, Could you please add UniDBSpinEdit to UniGui Framework Thank you
  14. Hi, I need to trap Enter Key in UniDBGrid for Refreshing Calculate Field when user press enter in cell editor, cursor will focus to the next column and calculate field value will be changed (refresh) i use TForm........UniDBGrid.OnKeyDown if Key = VK_RETURN then <-- it doesn't work, cannot trap enter key RefreshDataset; Thank you Environment Delphi XE7 UniGui 0.99.80.1214
  15. It would be nice if there is JS Script code syntax highlighting when open editor & brace/bracket maching.
  16. Hi, How to config custom font in uniGui ? i wish client-side can render the new font without installing it Thank you
  17. Hello, I try to lock all columns in group but not success (may be Javascript can help In this situation ?) Step to test: 1. open Demos\Desktop\GridColumnLocking 2. in Column Editor set GroupHeader = "test group" for 3 Columns (these columns already locked) - CustNo - Company - Contact when running, the column does not locked tested Environment Delphi XE7 UniGui Trial 0.99.50.1195 Google Chrome 45.0.2454.85
×
×
  • Create New...