
I have a ClientDetailsTemplate where the details grid contains InCell editing. I have added the Toolbar Create and Save buttons to the grid, but I'd like to add a title to the toolbar to the left of the buttons.
Example:
Sub-Departments [ Save Changes ] [ Cancel Changes ] [ Add New record ]
I tried using the Toolbar.Template which gave me the title, but I lost the buttons.
What is the best way to achieve this? If I need to use the Template, how to I get the 3 buttons included into the template along with the Title text?
Thanks,
Shawn
I have an inline grid, containing cascading foreign key drowdownlists with custom templates.
When selected value of one of the dropdownlist changes, I have to change the selected value of another foreign key dropdownlist within the grid.
I have subscribed to both Change and Select events of the source dropdownlist. Change event is working correctly. However Change event is also fired at initial load of the dropdownlist since the existing value of the foreign key is assigned to the dropdownlist. This isn't suitable for my scenario, since I want to get the event only when user manually changes the selection of the dropdownlist.
When I subscribe to Select Event, the event firing timing is exactly as I expect. It is only fired, when user manually changes the selection. However, the selected item's Text and Value properties are returned as "Undefined". I am accessing the properties as in the dropdownlist demo.
function onVehicleSelect(e) {
if (e.item) {
var dataItem = e.dataItem(e.item);
console.log("event :: select (" + dataItem.Text + " : " + dataItem.Value + ")");
}
}
I am stuck in this problem since long time. Urgent help would be appreciated.
Hi,
I would like to know if we can have a sort of foreign key mechanism in the Group method of the DropDownlist.
My goal is to group the item using a PrimaryKey (that is an Id of my records) but displaying the value of the record instead
of the Id in the label of the group displayed when the Dropdownlist is expanded.
Thanks.

Hello,
I'm trying to create a custom validator in a grid (which is using GridEditMode.InCell) but when the validation fail it shows the validation error just for a few milliseconds and then hide it. However when I left the field empty the default error "The xxxxx filed is required." is showed and do not disappear.
What should I do to achieve the same result with my custom validator?
The custom validator is the same I used in this question
Thank you.
PS: I've attached a screenshot displaying the default required validator.I have a page that has a grid which autobinds when the page loads. When the page initially shows, the grid is empty and loading, executing the read action. Unfortunately it's taking a small bit of time, but to the user it shows nothing. So I implemented my own progress spinner, it's kind of our company standard spinner/mascot... So now when the page loads, the grid is empty but my own custom spinner shows appropriately, and in the DataBound event I turn off the spinner. All good so far...
However, doing anything within the grid, such as grouping, sorting, etc... is all handled by the server, and the grid shows it's own little spinner animation. Well this is a bit jarring to the user, different spinners. So what do I need to change or override to replace the built in progress spoinner thing with my own? And if I do that, when the grid is empty and doing it's initial load, would it then be hidden such as the builtin one is? And if so, how can I override that and get it to do what I want, when I want.
When using the MVC Grid, and I group by a date, it shows: "Receipt Date: Tue Jan 24 2017 00:00:00 GMT-0700 (US Mountain Standard Time)", when all I want is the field name, followed by the date, formatted as a date. "Receipt Date: 01/24/2017" How can I get this?
