Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to provide inplace editors for columns headers?

$
0
0


This example demonstrates how to manually draw an editor in column headers and activate them on mouse click.

Question Comments

Added By: Yuan Kwei Huang at: 6/29/2014 10:24:36 AM    

Sorry, I read your sample code, but still have not idea how to use it.
How do I combine my grid control/view with this sample code?

Added By: Dimitros (DevExpress Support) at: 6/30/2014 12:25:11 AM    

I see that you posted a separate ticket with the same questions: How to provide inplace editors for columns headers?.

 

I'll answer you in that thread.

Added By: Stefan Wohlfarth at: 10/10/2017 8:04:53 AM    There is a slight problem when using an AdvBandedGrid. If you register an editor to a column with rowindex > 0 the method CalcColumnHitInfo might return the wrong column. Not only do you have to check IntInRange for pt.X but also for pt.Y like:

[C#]
if(!ci.Bounds.IsEmpty&&IntInRange(pt.X,ci.Bounds.Left,ci.Bounds.Right)&&IntInRange(pt.Y,ci.Bounds.Top,ci.Bounds.Bottom)){......



Viewing all articles
Browse latest Browse all 7205

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>