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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Need Cell Type Value...

Thread ID:





44568 May 26,2006 03:01 PM UTC May 27,2006 09:54 AM UTC WinForms 1
Tags: GridControl
Sathish Chandran
Asked On May 26, 2006 03:01 PM UTC

Hi, I''ve assigned a cell type for a respective column at the initialisation. eg. --- private void grdSecurityPrice_CellClick(object sender, GridCellClickEventArgs e) { if (e.MouseEventArgs.Button == MouseButtons.Right) { } } In the above cell click event of Grid I want get the Cell type value. Please help me out. Thanks & Regards, Sathish.

Administrator [Syncfusion]
Replied On May 27, 2006 09:54 AM UTC

You can try code like: private void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { String cellType = this.gridControl1[e.RowIndex, e.ColIndex].CellType; Type cellValueType = this.gridControl1[e.RowIndex, e.ColIndex].CellValueType; Console.WriteLine("cellType {0} cellValueType {1}", cellType, cellValueType); }


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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