SmartPhone Datagrid Doubt: C#

  • Thread starter Thread starter Sabareesh_krishnamoorthy
  • Start date Start date
S

Sabareesh_krishnamoorthy

Hi,

I have a datagrid control showing a few rows of data. I need to have a
checkbox alongside each row. I want the user to select the rows by checking
the checkboxes and then perform some operation.

How do I get a checkbox inside a data grid against all the rows?
any pointers to this will be very useful.

Thanks,
-Sabareesh K
 
The DataGrid does not support Checkboxes - unless you were to overlay them,
however if you are using Smartphone this may not be very easy to co-ordinate
and provide the user with a method of selecting rows and checking them.
I would suggest you use a ListView control set to Details view which will
allow multiple columns of data and the option of checkboxes. The user can
use the up and down cursor and action button to select or deselect a row.

You can then provide a softkey option to perform the action once you have
selected the chosen items.

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
 
This sounds like a good idea. I would recommend this over the using the
DataGrid as the datagrid is not supported on Smartphone and will not ship
on devices.

David Wrighton
..NET Compact Framework

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Peter Foot [MVP]" <[email protected]>
| References: <[email protected]>
| Subject: Re: SmartPhone Datagrid Doubt: C#
| Date: Fri, 12 Sep 2003 11:01:16 +0100
| Lines: 37
| Organization: In The Hand
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups:
microsoft.public.smartphone.developer,microsoft.public.dotnet.framework.comp
actframework
| NNTP-Posting-Host: client-1422-p1-sms.glfd.adsl.virgin.net 81.107.229.141
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:33423
microsoft.public.smartphone.developer:6587
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| The DataGrid does not support Checkboxes - unless you were to overlay
them,
| however if you are using Smartphone this may not be very easy to
co-ordinate
| and provide the user with a method of selecting rows and checking them.
| I would suggest you use a ListView control set to Details view which will
| allow multiple columns of data and the option of checkboxes. The user can
| use the up and down cursor and action button to select or deselect a row.
|
| You can then provide a softkey option to perform the action once you have
| selected the chosen items.
|
| Peter
|
| --
| Peter Foot
| Windows Embedded MVP
|
| In The Hand
| http://www.inthehand.com
|
| message | > Hi,
| >
| > I have a datagrid control showing a few rows of data. I need to have a
| > checkbox alongside each row. I want the user to select the rows by
| checking
| > the checkboxes and then perform some operation.
| >
| > How do I get a checkbox inside a data grid against all the rows?
| > any pointers to this will be very useful.
| >
| > Thanks,
| > -Sabareesh K
| >
| >
|
|
|
 
Back
Top