Sorry if I confused you. Here is a simple example of what the table should look like:
Description | 2005 | 2006 | 2007 --------------------------------------------------------------------- Survey | |_| | |_| | | _| Amount | 10000 | 50000 | In this table, line 1, Survey is a row of checkboxes and line 2, Amount is a row of textboxes Can we achieve that? On Jul 21, 1:56 am, Cerebrus <[email protected]> wrote: > You are getting confused by your own erroneous statement: > > > Hence, the first row of the table can be a checkbox, but the next row > > can be a textbox > > A row can never be a checkbox. Just as a tree cannot be an apple. On > the contrary, a row can contain a cell which contains a checkbox. Just > as an orchard can contain trees which grow apples. > > Getting back to the context, you can handle one of the Datagrid events > and conditionally create the row depending on the ItemIndex. > > On Jul 20, 11:59 pm, R <[email protected]> wrote: > > > > > I have to develop an application where users can enter target values > > for each quarter of the next 5 fiscal years. These target values can > > be a check mark or a numeric value. The first column on the tabel is a > > description of the taget and the rest of the columns are quarter > > targets. > > Hence, the first row of the table can be a checkbox, but the next row > > can be a textbox for entering numeric value. > > I know we can specify column types but how can we set rowtype.- Hide quoted > > text - > > - Show quoted text -
