Jump to content

misc

uniGUI Subscriber
  • Posts

    97
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by misc

  1. I have to reopen this thread due to a question concerning general understanding: If I click on the uniDBGrid Header in the browser, and deselect a column, a "columnhide" event is correctly fired. However, in my server side AjaxEvent, the corresponding column is still marked as visible (Columns.Items[ix].Visible = true). Is this correct? Are the client sided property changes not propagated to the server grid columns?
  2. ok, apaprently the "if EventName = .." statement is mandatory. Didn't know this had an effect on client side as well. Thanx!
  3. @ZigZag: the error is client side. It comes whether I pass parameters or not. I don't even get to my AjaxEvent...
  4. It's really frustrating. As soon as I assign any ExtEvents to my uniDBGrid, I get the ajax error "a is undefined". Does anyone have a clue what I am missing or doing wrong?
  5. Help, my first trial at ExtEvents is failing completely - what am I doing wrong?? Im trying to route a simple celllick client event of my uniDBGrid to my OnAjaxEvent function, and when I load the grid in the browser I get an Ajax error message as seen in the screenshot. uniDBGrid ExtEvents: function cellclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) { ajaxRequest(sender, "cellclick", []); } Delphi: procedure TMainForm.uniMasterAjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin MessageDlg(params.Text, mtInformation, []) end;
  6. Has noone created and assigned grid editors at runtime yet?
  7. I double that question: is there no TuniDBSpinEdit? Quesiton 2: how can I add masks to the TuniDBNumber edits, like show decimals or currency symbols?
  8. Thank you. I tried it: procedure TMainForm.uniGridCellClick(Column: TUniDBGridColumn); begin if Column.Field.DataType in [ftDate, ftTime, ftDateTime] then UniSession.AddJS( Format(TUniDBGrid(Column.Grid).JSName + '.columnManager.columns[%d].setEditor(' + uniDateTimePicker1.JSName + ');', [Column.Index])); end; However, what I got was a short blink of a button on the right side of the cell, and then this error message: So, where should I create and assign editors at runtime? My users create their own SQL at runtime, so I cannot design a grid with fixed editor controls. Should I create a control for each column at runtime and assign it with the UniSession.AddJS Method BEFORE loading the grid? uniGridCellClick is obviously not the right place. But why not - can someone explain? PS: As I am new to uniGUI, I guess I still don't quite get some of the concepts, and I also don't find this kind of stuff in any help file. I know a beta is an early stage to expect this information.
  9. All my grid edit controls exist only once in a TUniHidenPanel. My Grid has a DataSource which is only known at runtime, so my columns are created at runtime as well. I then try to assign my editors like this: procedure TMainForm.uniGridCellClick(Column: TUniDBGridColumn); begin if Column.Field.DataType in [ftDate, ftTime, ftDateTime] then Column.Editor:= uniDateTimePicker1 else if Column.Field.DataType in [ftBoolean] then begin Column.Editor:= uniCheckBox1 else if Column.Field.DataType in [ftMemo, ftWideMemo, ftFmtMemo] then Column.Editor:= uniMemo1; end; Problem: The editors don't appear in my Grid, even when I doubleclick to enter editing. Can grid editors be dynamically assigned, or do all columns with assigned fields and individual editors have to exist at design time?
  10. Thank you - is there any way to automate this through code?
  11. My Setup: IIS7 uniGUI 0.94 ISAPI mode (DLL) ADOQuery -> local access mdb database -> connected remote mysql tables (it works great!!!) Problem: When I run a project in Firefox (localhost:8081/myapp.dll), and close myapp ("Web session terminated"), the "w3wp.exe" IIS Worker Process remains running in the task list, and I have to kill it in order to compile/build my Delphi application again. PS: I've done all necessary AppPool settings, and my app runs fine. It actually connects to a remote mysql database through ADO and connected tables in Access, which I never thought would work. Congratulation to Farchad for this great toolkit. Hope it goes commercial soon.
  12. I would also like to know if Websockets can be used together with UniGUI. Anyone?
  13. So in summary, is it possible to combine WebSockets and uniGUI? I believe this question remains unanswered, and I cannot find any comment on this in the forum. Farshad? Anyone?
  14. Thank you Roberto, but we do need someone who also knows JS, because a large part of the project is based on Fabric.js.
  15. We're a company located in Germany, and we need someone with uniGUI experience who will help us port our Delphi Desktop Photobook designer to a web application using uniGUI, fabric.js and a fast database. The project will extend at least over 3 months. We have lots of existing business logic code, some of which can be reused. However, to insure scalability and speed, the application will have to be redesigned from scratch. Is anyone interested in joining the project? if you are, please tell me a lttle about your uniGUI and Delphi experience, and give me a skype adress where we can connect. Thank you all, and thanks to Farshad for making this idea possible. @ One question to Farshad: Since I am a developer myself, I know you hate the "when" questions. But maybe you can give me a small hint on your licensing & launch roadmap.
  16. Does that mean, I can embed any other JS libraries in uniGUI, and acces them also through uniGUI? Can I access the full document DOM? Maybe this is a stupid quesition, but as a Delphi developer I am somewhat lacking experience.
  17. Hello Zilav, 1. Can you provide an URL to test your project? 2. I am really interested in the possibility to integrate other frameworks in uniGUI. Do you have some details on this? Thanks.
  18. Can anyone give me a lead, if it's possible to integrate another framework inside uniGUI?
  19. I’m looking for an experienced Delphi XE3 / XE4 developer who can write me a demo app with the framework Fabric.js The demo should include something like this: http://fabricjs.com/kitchensink/ The idea is to create a Delphi browser application with uniGUI, and to integrate Fabric.js into this application in order to have a simple DTP editor. If this demo works, then there will be a larger job assigned to whoever wants to continue with it. At the moment I have no idea if this idea would work, because I have no experience with uniGUI. Maybe there's even a simpler solution, though I have not seen any good drag & drop and canvas editing in uniGUI. The question is, can another framework be integrated in uniGUI? If the answer is a simple NO, then please just explain here. Otherwise please send me an offer for this demo per PM to info@1stein.de Thank you.
  20. misc

    URL in uniDBGrid

    Hi, is there a way to use URL in uniDBGrid? As i know in ExtJS i can use the Render method but i do not find any solution with uniGUI. Thanks, Michael
  21. Hi, i can not download it. Would it be possible to send to my forum mail? THX, Michael
×
×
  • Create New...