Jump to content

Jean-Marc Kiener

uniGUI Subscriber
  • Posts

    222
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Jean-Marc Kiener

  1. Hello, I should update some TUnilabel.Captions if the user change the row in a TUniDBGrid. Is there a Afterscroll event or a OnRowSelect event or something similar to it. I did not found it. i did found a ClientEvent in Ext.Selection.RowModel: function rowModel.select(sender, record, index, eOpts) { } Is this the right way to do this? If yes, how can i set the caption of a tunilabel in javascript? Thanks in advance for your help.
  2. Based on following discussion: http://forums.unigui.com/index.php?/topic/5358-unidbgrid-get-set-sorting-state-of-column/ It would be importand if we could get/set the sorting status of a column by code. Something like TUniDBGrid.columns[0].Sort(asc); TUniDBGris.colimns[0].SortingState; (ssNone, ssAsc, ssDesc) Then we could save and reset the sort state of a grid. At moment, if you open a form with a grid, you can not set the column shown as sorted which is actually sorted in the dataset behind. So, if the user clicks on the column header, nothing occurs but the header is shown as sorted, what it already was before..
  3. Hi Marlon and Abaksoft, Thats not what SebiDev123 is searching for. He ask for sorting a column by code as it would be when i click on the column header (So the column header shows the sorting direction with the small triangle). In the demo, the same problem occurs. If the form is opened, the grid shows no column as sorted, but in fact the data is sorted by the first column, so the first column header should shown as sorted. See the screenshots below. Second is, it would be nice if we could detect which columns are sorted in which manner, write this per example in a cookie and if the user comes back opening the grid again, whe could sort the data and SHOW the Columns in the same manner as he leaved the grid before. Thas the point i think.
  4. You have to load the font to your webbrowser. See here... Best practice: 1. Install the font on your developer computer 2. Add the font to your project as described in the link above 3. Change the font of the unigui components in your project as needed..
  5. At moment i found no other way to view the change log of a new version then after the installation. Is there a way to view the change log before i have to install the new version?
  6. Is there a way to change the font type and size of a TUniCombobox popup list?
  7. Is there a possibelity to avoid the "You just have to allow opening new windows in browser for the first time."? "
  8. Hi, I coming up with the same problem. I have a Form with a button on it. On OnClick Event of the button, i wrote something like: Procedure TMainForm.UniButton1Click(Sender: TObject); begin UniSession.AddJS('window.open("http://www.plotjet.ch/exp/exp.dll?SessionID="' + SessionID + ',"_blank","");'); end; The problem is, that on each browser i try open a new browser window, the popup blocker occurs. Internet says, that is ok because i call the window.open in a answer of a ajax call. I this case, popup blocker will occur. So for test i write that in the ExtEvents Ext.button.Button.click event: function click(sender, e, eOpts) { window.open("http://www.plotjet.ch/exp/exp.dll","_blank",""); } That works well, no popup blocker comes up. But i have to do lot more work before i can call window.open. I have to ask a webservice for a sessionID and have to give this SessionID somehow to the ExtEvent Click function. What would be the way to do that?
  9. Found the solution.. CustomMeta and CustomCSS property from TUniServerModule are the candidats. CustomMeta: <link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,400italic,300italic' rel='stylesheet' type='text/css' /> Add CustomCSS as you need.
  10. Hi uniguys (-and girls) ;-) I have here a little app writen in unigui. The app should run in a iframe of a html page. The html page has a big css file declaring the view of the obejcts used on the html page. In the header of the html page it loads the following font: <link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,400italic,300italic' rel='stylesheet' type='text/css' /> Is there a chance that i can use the same font and css in my unigui app? If yes, how can that be done? I tryed it with TuniHTMLFrame, setting the html property: <!DOCTYPE html> <html> <head> <link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,400italic,300italic' rel='stylesheet' type='text/css' /> </head> <body> </body> </html> But if i firebug the app, i cannot see the link to the font in my app. Any help would be great.
  11. Hi Gurus, I tryed to install the theme in the attachement. Unfortunatly without success. Can someone show me how to do that? Where i had to put wich files and so one? Found this -> http://forums.unigui.com/index.php?/topic/4155-bootstrap-theme/ Thanks guys..
  12. Hi rullamore, Thanks again, it works fine now. I'm just wondering. For what is ProgressBarPager.js needed? regards.
  13. HI rullamore, The demo works. i had to remove UniZDBGrid from the uses list to compile it. Attached the log file. It seems that i miss some js-file. A2014-09-26.txt
  14. Hi rullamore, It works perfect until i set the property "PagingToolbarResizer" to "True". if i set it to "false", i can see the original grid toolbar. If i set it to "True", see the attached pictures. Maybe it has to do that i have to install the "PagingToolbarResizer". But that seems to me a bit complicated. Can you give me al little help?
  15. Hi rullamore, That works for me.. procedure TBMUniDBGrid.ConfigJSClasses(ALoading: Boolean); begin JSObjects.DefaultJSClassName := 'Ext.grid.Panel'; JSObjects.JSClasses['cellModel'] := 'Ext.selection.CellModel'; JSObjects.JSClasses['rowModel'] := 'Ext.selection.CheckboxModel' ; JSObjects.JSClasses['store'] := 'Ext.data.Store'; JSObjects.JSClasses['pagingBar'] := 'Ext.toolbar.Paging'; <-- that adds the standard toolbar end; However, i did not find the "PagingToolbarResizer" Property in my object inspector. Maybe i has to install first PagingToolbarResizerer posted by Mr. Delphi Developer, then the property is shown. i will try..
  16. Solved! Thanks to Farshad for the fine and quick support.
  17. Hi Fashad, Yes, we could connect my PC using Teamviewer. I added my skype account to my profile. maybe we could connect via skipe and i send you the Teamviewer-ID and PWD? Maybe do you have a better way?
  18. Hi, When i try to install fmsoft_unigui_plus_pro_0.97.0.1079_beta.exe, the setup throws some AV. I cannot install it properly. The Setup hangs. See attachements.Maybe that relies on my windows, the language is in german? Regards, J.M
  19. Hi, i saw that i do not have a pagecount/pagenavigation under my grid anymore. has this to do with this? JSObjects.JSClasses['pagingBar'] := 'Ext.toolbar.Paging'; ?? Problem. If yes, where and how i must set this?
  20. Hi rullamore, First i have to thank you for the quick demo. I studed it and saw... there is no difference to my project. Hmm... the only difference was, that my grid was on a TuniPanel. So i set the grid directly to the form and.. it works! So i changed your demo project in that way. I placed a TuniPanel on the form and set the grid into it. Now, even the demo project did not fire the OnButtonAction event. Seems to be an issue. Regards.
×
×
  • Create New...