Hi,
I am in a need for a functionality to show the details of the selected row in a parent grid in a child grid whose columns remain the same as the parent grid; however details of only one column are displayed at a time depending upon the selection in the header drop down of the details ultra grid. Please let me know how may I implement this...
Thanks,
Bhushan.
Hi Bhusan,
I'm unclear of the details of your requirement. As I understand it, you need the following:
If this is your requirement, then please say so and I will build a sample. In order to better understand this, may I ask why you need to display this? If I am understanding correctly, the user can already see all the relevant information in the main grid.
Hi Bhushan,
Assigning the appearance based on a condition in the SelectionChanged event should work fine. In order to show the blue color when the dropdown is expanded, you can use the BeforeDropDown event.
Please let me know if you have any questions.
Hi Mike,
Thanks for the sample. That is exactly what I need. I shall try to tailor this to our requirements and get back to you in case I face any trouble doing so. I would want to know if I can just set the background of the drop down conditionally based on the item selected? Basically, the column headers in the parent grid are having green and red background based on certain conditions. So in this child grid when column with Green Header is selected, the combo back ground should be green else red. However, when it is dropped down, it should show up with white fore color and blue back color. I suppose, this can be done using appearance objects and assigning them the green and red color in the selection changed event? And then the blue color to be shown in the back ground when the drop down is expanded, which event should be handled for that?
I've built a sample that fits these requirements. I used a creation filter to position an UltraCombo over the detail grid's header. Please let me know if this is what you were looking for.
Just wanted to know if you could build a simple sample for the above mentioned scenario and share it? Also, if not able to provide me the sample, please provide me any pointers / hints to try it out myself. Please advice if this is possible and worth spending the time and effort, as I do not want to waste my time in something which is not going to work out. And in the end, please let us know alternative way to implement Column Chooser UI, that shall closely match our needs.