CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

cggrid adding columns to linked dataset , automatically set the default value according to field type

Suggest new components/features

by seanwebb » 08 Oct 2012 08:20

For each Column..
There is a EditOptions.DefaultValue.Type drop down
This has to be manually set, but could be automatic when linked to an active dataset when adding columns
Eg if fieldtype is ftdouble then set the type to double and default to 0
otherwise when using the add Icon and the the user does not fill the field in then there is an error
"" is not a valid No.
This goes for other data types as well.

Also, the formatter can be set automatically eg gcfnumber for floats , gcfinteger for integers etc

Also if its a number , then editrules.number could get automatically ticked
seanwebb
 
Posts: 50
Joined: 22 May 2012 11:12

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.