We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Having difficulty on GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

95148 Jun 23,2010 07:23 AM UTC Jun 29,2010 12:31 PM UTC Silverlight 5
loading
Tags: GridControl
Danny Chan
Asked On June 23, 2010 07:23 AM UTC

Hi,

Currently I'm evaluating on syncfusion GridControl and found some difficulty on the control as below.

1. Please refer to my attachment, How can i dynamically add in a button in a GridControl at specific location instead of ComboBox? (please provided with the eventhandler when the button is click)

2. Please refer to my attachment, GridControl with ComboBox, how can i get the eventhandler in ComboBox like comboBox_selectedIndexChange()? when user selected one of the dropdown value? (example. once user selected the value at ComboBox1 it will take effect on comboBox2 value) What is the event handler i need to use when the event occur.

Thank You for you clarification.



Pic_a8ee4968.zip

Danny Chan
Replied On June 25, 2010 07:04 AM UTC

hi... can i get some response from this thread?

Jeraldes J [Syncfusion]
Replied On June 25, 2010 07:37 AM UTC

Hi Danny,

Thank you for your interest in Syncfusion products.

1. For your first query use the QueryCellInfo event to get each and every cell type in the grid. Then by using the cell type change to your required cell type.
2. Second query use the CurrentCellEditingComplete to fetch the current cell changed value and load the another combo using the value that is fetched.

Please download the sample under the following location.

http://www.syncfusion.com/uploads/redirect.aspx?file=ComboSelectionChange-95148_1bf441f1.rar&team=development

Sorry for the delay caused. Let us know if you need any other details.

Regards
Jeraldes J

Danny Chan
Replied On June 25, 2010 08:46 AM UTC

Hi Jeraldes J,

Thank you to your solution,

1. Solution 1 i can do it. Thanks.

2. The CurrentCellEditingComplete event only happen when i clicking on another cell then only will fire the event.(if user no click on other cell it wouldn't fire an event to capture latest value.) I need to capture the latest value while user click on the combobox without click on other cell. (eg. ComboBox with value A,B,C,D. While user click on the value B. I can capture the Value B without click on other cell to fire an event on CurrentCellEditingComplete)

Thank You for your clarification.

Danny Chan
Replied On June 29, 2010 12:56 AM UTC

Hi Jeraldes J,

may i have a quick response on my matter. Now i in the mid of evaluation on this product.

Jeraldes J [Syncfusion]
Replied On June 29, 2010 12:31 PM UTC

Hi Danny,

Sorry for the delay caused.

Please refer the below sample for your second query. Combobox in the sample is developed using DataTemplate which is rendered using the class DataTemplateCellModel for binding the data.

SelectionChanged event triggered is when the any combobox item is selected. Download URL for the sample:

http://www.syncfusion.com/uploads/redirect.aspx?file=ComboSelectionChange-95148_NewSample_aedcfb2.zip&team=development

Let us know if you need any other details.

Regards,
Jeraldes J

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;