SIRE Software Posted February 6, 2021 Share Posted February 6, 2021 Hello, i'am testing the framework on DelphiXE7 to know if it can give me the service level of my actual web application. My actual web application is built to operate at the client side at all (javascript code and some 3rd party libraries like kendo library) this application makes calls to my server application and it operates pretty good. Now i think that if i use uniGUI, the web applications development process will be faster but, there are some functionalities that i don't want to lose for example, in my actual web application i have some templates into the grid columns like a button or an image just in the same cell of the value of the column, i wonder if is there some way to implement this kind of templates or how i can reach this functionality? This just one example of some "special" things that i am using and basically the templates usage is what i need to implement in other sencha components too. thanks in advance. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 6, 2021 Share Posted February 6, 2021 1 minute ago, Victor Dominguez said: Hello, i'am testing the framework on DelphiXE7 to know if it can give me the service level of my actual web application. Hello, Which edition of UniGUI are you using!? 2 minutes ago, Victor Dominguez said: Now i think that if i use uniGUI, the web applications development process will be faster but, there are some functionalities that i don't want to lose for example, in my actual web application i have some templates into the grid columns like a button or an image just in the same cell of the value of the column, i wonder if is there some way to implement this kind of templates or how i can reach this functionality? Any example of what you mean. Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted February 6, 2021 Author Share Posted February 6, 2021 7 minutes ago, Sherzod said: Hello, Which edition of UniGUI are you using!? Any example of what you mean. We're using the trial version (FMSoft_uniGUI_Complete_Professional_1.90.0.1541_Trial) for now, but we are really considerating on getting a UniGUI licence but first, we want to make sure that SenchaJS components covers most of our needs. Example: https://ibb.co/4WmyV7Z Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted February 11, 2021 Author Share Posted February 11, 2021 On 2/6/2021 at 12:53 PM, Victor Dominguez said: We're using the trial version (FMSoft_uniGUI_Complete_Professional_1.90.0.1541_Trial) for now, but we are really considerating on getting a UniGUI licence but first, we want to make sure that SenchaJS components covers most of our needs. Example: https://ibb.co/4WmyV7Z I guess the example's URL is not working - here is another one https://postimg.cc/t1BVjVnt Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted February 12, 2021 Share Posted February 12, 2021 22 hours ago, Victor Dominguez said: I guess the example's URL is not working - here is another one https://postimg.cc/t1BVjVnt Did you check action columns demo? Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted February 12, 2021 Author Share Posted February 12, 2021 1 hour ago, Hayri ASLAN said: Did you check action columns demo? thanks for answering!! yeah i checked it, but i need the image inside the column i mean within the value. Maybe that is posible with actions columns but i really didnt find how to aproach that functionality Quote Link to comment Share on other sites More sharing options...
emin Posted February 12, 2021 Share Posted February 12, 2021 It's possible and quite easy to implement. Here is an example which I copied from my code procedure Tfrmkrediislemleri.adsoyadGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin Text := '<img height="16", width="16", src="files/images/' + 'user16.png" /> '+ krediislemleri.FieldByName('adsoyad').AsString; end; procedure Tfrmkrediislemleri.UniDBGrid2DrawColumnCell(Sender: TObject; ACol, ARow: Integer; Column: TUniDBGridColumn; Attribs: TUniCellAttribs); begin if Column.FieldName = 'adsoyad' then Column.Field.OnGetText := adsoyadGetText; end; It seems like this: 1 Quote Link to comment Share on other sites More sharing options...
SIRE Software Posted February 12, 2021 Author Share Posted February 12, 2021 2 hours ago, emin said: It's possible and quite easy to implement. Here is an example which I copied from my code procedure Tfrmkrediislemleri.adsoyadGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin Text := '<img height="16", width="16", src="files/images/' + 'user16.png" /> '+ krediislemleri.FieldByName('adsoyad').AsString; end; procedure Tfrmkrediislemleri.UniDBGrid2DrawColumnCell(Sender: TObject; ACol, ARow: Integer; Column: TUniDBGridColumn; Attribs: TUniCellAttribs); begin if Column.FieldName = 'adsoyad' then Column.Field.OnGetText := adsoyadGetText; end; It seems like this: 4 hours ago, Hayri ASLAN said: Thank you so much! Following that line i would try to add a button in a column ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.