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.

GridGroupingControl CellType="PushButton" does not display mapping data

Thread ID:

Created:

Updated:

Platform:

Replies:

111116 Sep 9,2013 02:22 AM Sep 23,2013 01:40 AM Windows Forms 3
loading
Tags: GridControl
Rizan
Asked On September 9, 2013 02:22 AM

I have a gridGroupingControl where I have binded a List and mappingName also used. It shows all the data. But actually in a specific column I need to make all the rows in that column to look like buttons. Now every row in that column has data. Once I use CellType = "PushButton", all the records in that specific cell displays a clickable image. I want my data to be visible in that button. Please help me as soon.
Note: In my table its the Symbol Column.
I have attached images  in the zip.


pix_8ab7b496.rar

Vinish Kumar K [Syncfusion]
Replied On September 16, 2013 01:33 AM

Hi Rizan,

Thank you for your interest in Syncfusion products.

We have analyzed the reported query, please use the PrepareViewStyle or QueryCellInfo event to show the text in Push button. Use the below code in any of these events

e.Style.Text = "1111";

Regards,
Vinish K.

Rizan
Replied On September 18, 2013 08:44 AM

Thanks for the reply :)
Actually the text I need to be visible are the data that is already in that record which come from DataSource. Not my own text. so every cell will have different data. And I have another problem which is separate that I need just buttons in a column and use my own image to those cells.

Vinish Kumar K [Syncfusion]
Replied On September 23, 2013 01:40 AM

Hi Rizan,

 

Thank you for your update.

 

Query

Assign the values for the pushbutton cell

We have analysed the reported query again in our end. We have provided the solution generally to update the cell value to particular cell.

 

You can use the if condition to set the cell text in random order using the solution already suggested by us.

 

IF you have any concerns, please let me know with sample and details we will provide solution for you quickly.

 

Thanks,

Vinish K.


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.

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.

;