Rank: Advanced Member Groups: Member
Joined: 10/14/2010 Posts: 19
|
Q1: I added a masked edit column to a Grid. When I click the cell to change the value I cannot just typing over what is in the cell, I have to delete the contents first. What can be done to allow overwriting of the value?
Q2: The masked edit as well as the Text box for the Grid allows the type of value to set, for example, Float. When Float is set (and no masked edit is used) you can still type characters. What is the purpose of defining a cell as Float if it does not prevent character data?
Suggestion. Would it be possible down the road to break out the support forum by control? It would make searching for solutions easier. I end up placing the forum URL in Google "search only this domain" to find solutions here before making a post.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Thank you very much for your suggestion on the forum. We've thought about this before but decided against because very often a single question involves multiple controls (for example in this case Grid and MaskedEdit). So it is not very easy to separate them. Using Google search is a very good solution because it does a very good job about matching. One way to improve this could be to integrate a Google search box on our website.
As to your questions:
1. No. I do not believe there is a way to do that in the current version. We do believe it makes sense to let the MaskedEdit to automatically overwrite when you enter edit mode. So we will look into it and see what we can do;
2. The only effect of defining a cell as float is when you access the cell from the server side you will get back a float instead of a string. This changes the server side behavior only, not the client side. It's difficult to implement this on the client side because of different locale settings. For example, some Europe countries uses "," instead "." as decimal points. It gets much more complicated when people wants different format (for example, right align), or other elements such as currency signs. For these reasons, the Grid does not prevent character data on the client side;
Hope this helps.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 10/14/2010 Posts: 19
|
Thanks Much! Get a value back as Float on the server side and not having to cast it from string... priceless!
|