I don't know anyone who actually uses the DataGrid in there apps on the CF.
Most folks write there own controls due to the limitations and the lack of
functionality including look and feel in the standard CF UI BCL. It wouldn't
be hard to actually write you;re own control with a checkbox, trap the click
event and draw the checkbox (image) on of off.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com
"Andrew" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks Richard for your help.
>
> I will attempt your suggestion. It seems like it will 'Paint' X to look
> like check box. I need actual check box so that I can handle
> 'CheckedChange' kind of event. I dont seem to find the 'inner' TextBox of
> the DataGridTextBoxColumn also... its unlike the regular framework...
>
> I am starting to arrive to a conclusion that the CompactFramework data
> grid and its extention systems (DataGridColumnStyle) are too too limited
> to be of any use really... like we cant implement a good
> DataGridBoolColumn which is in regular framework (and yes, the
> DataGridView of regular framework is much better anyway)...
>
> More inputs and pointers in this will be highly appreciated.
>
> -Andrew
>
>
> "Richard Jones" <(E-Mail Removed)> wrote in message
> news:b37c961f-42cd-4353-82e4-(E-Mail Removed)...
>> This is what I do:
>>
>> class Person
>> {
>> private bool eligibale=false;
>>
>> public bool Eligable {
>> get
>> {
>> return eligable
>> }
>> }
>>
>> // I add this bit and use a texbox column to display my label
>> public string Eligable_Label
>> {
>> get { return Eligable?"X":"";}
>> }
>> }
>>
>> It works pretty well. Maybe not what you wanted to hear, but
>> certainly a workable solution.
>>
>> Richard (Device Dev MVP)
>
>