8/16/2025 11:26:11 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Custom format column in data grid
Posted: 06 Nov 08 3:01 PM
|
Hi All,
I want to add a custom format column in a data grid to display only the time value of a datetime and add a string after it. What I found out so far is, that I have to write a method to do this. My question is, what parameters does the method need to have. How do I call the method? Just type the method name in the text box? And how do I access the column and write ata back? Just return the string value and create an instance of the entity object in my method?
Thanks for help! |
|
|
| |
|
Re: Custom format column in data grid
Posted: 06 Nov 08 3:23 PM
|
Hi,
Thanks for the link. So if I hand over a DateTime value, lets say Starttime, do I have to do the following: DateTime dat = new DateTime(); dat = Convert.ToDateTime(Starttime); string result = dat.ToString("hh:mm") + " Uhr"; return result;
Thanks! |
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|