carrera
-
Posts
34 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by carrera
-
-
If it is a console app you can use CreateProcess. Or see here: http://forums.unigui.com/index.php?/topic/3529-webcmd-start-a-command-line-console-app-in-browser-interactive/?fromsearch=1
thanks
-
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
-
It looked as if in the app the connection to the database displayed the right data but
the FastReport connector remained on the previous connection (???) .
Hi adragan,
Yes it is. database display the right result, but not for fast report.
I will try your solution.
thank you
-
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
-
Hi,
file attached.
please look in unidbgrid1.OnAjaxEvent and uniDbgrid1.ClientEvent.ExtEvents
thank you
-
Hi, Delphi Dev
Hi,
This can happen if the value in the particular column is incorrect
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 ?
-
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.115Thank you
-
Ok, then you can use this:
function beforeedit(editor, context, eOpts) { var me=context; //me.record.data[yourColIndx] if (me.record.data[1] == "222") { return false } }
Work as expected!
Thank you
-
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
-
Hi Delphi Dev,
I need to revert value before editing or prevent user key into grid if condition met
Thanks
-
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
-
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
-
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
-
Thanks, It's work great
-
sorry,please ignore this post, i just saw "ShowTrigger" Boolean property of UniDBNumberEdit
-
Hi,
Could you please add UniDBSpinEdit to UniGui Framework
Thank you
-
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
-
It would be nice if there is
JS Script code syntax highlighting when open editor & brace/bracket maching.
-
Hi,
How to config custom font in uniGui ?
i wish client-side can render the new font without installing it
Thank you
-
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
how to Execute application on server side and wait for completion
in General
Posted
Thanks @wilton_rad