Hi Team,
I am trying to add/update a row to grid using a dialog. I bind a set of complex objects to the grid and for adding/editing a new row, I open a dialog.
For binding, I use:
column.For(x => x.Status).DataType("object").HeaderText("Status").FormatterFunction("function(val){return val.Name;}");
This way when initially grid binds, the complex object displays properly.
When I open a edit pop up, it does not display the same value in the dropdown (populated using Viewbag). How to fix this? Also, when I select a value and try to rebind the grid after closing a dialog the complex object values do no rebind. How to display the selected value in the grid?
Another issue is of date picker control. In the same dialog I have date, I want to display in yyyy-MM-dd format. I use a datepicker control, the calendar opens in the back of the input text box. Tried to increase the z-index using the below code, but didn't work.
.ui-datepicker { z-index: 1100 !important; }
Also, it is not displaying the selected date back in the grid.
Expecting a fast reply on this.
Thank you.
-Regards,
Agraj
Hey Agraj,
Thank you for contacting us!
I wanted to let you know that I am currently working on your case and as soon as possible will let you know about my findings.
Could you please provide an update on the issue?