This is a migrated thread and some comments may be shown as answers.

Adding Checkbox

8 Answers 193 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jerry
Top achievements
Rank 1
jerry asked on 18 Mar 2009, 08:28 PM
How hard is it to add a checkbox to a gridview?  I'm using the trial version to test to see how I can add a checkbox and how to handel the event.  Using .net's grid is very slow and choppy when i'm scrolling around. 

Thank You

8 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 19 Mar 2009, 04:08 PM
Hello jerry,

Thank you for your interest in our controls. If your data source contains a boolean column then the grid will automatically choose a checkbox column to visualize your data. You can read further about boolean (check box) columns here. I hope that this answers your question, but do not hesitate to write me back if you have further questions.

Regards,
Nick
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
jerry
Top achievements
Rank 1
answered on 19 Mar 2009, 04:14 PM
NIck,
Thank you for the reply.
I would like to know if it's possible to make my filter be a combobox instead of a text box?
I have my grid filtering and in 1 column there are about 4 choices listed so I want them to be able to click a combobox and have it list these 4. once they select something I want the grid to filter on their selection.  Is this possible?

Thank You
Jerry
0
Nick
Telerik team
answered on 20 Mar 2009, 04:32 PM
Hi jerry,

Thank you for contacting me back. If you are using a GridViewLookUpColumn the filter is a combobox, but unfortunately you cannot use a combobox filter for a text column. Hence I suggest that you use a GridViewLookUpColumn. Please follow the link to the documentation for more information.

Do not hesitate to write me back if you have further questions. I hope that your trial period is going fine.

Sincerely yours,
Nick
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
jerry
Top achievements
Rank 1
answered on 20 Mar 2009, 04:44 PM
Nick,
Thank you for your reply. 
I'm really stuck with adding a checkbox column and getting it to clear out that column when the data is rebinded to the radgrid.
When a user changes options I have to clear the grid and checkboxes but that isn't happening.  Say I check the first 3 rows then I change an option from one of my drop downs the datagrid rebinds but it will have the first 3 rows still checked.

Could you help me out with my other posts?

Jerry
0
Nick
Telerik team
answered on 20 Mar 2009, 05:23 PM
Hello jerry,

Please find the answers of your questions in your other posts.

Greetings,
Nick
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
jerry
Top achievements
Rank 1
answered on 20 Mar 2009, 05:54 PM
Nick,
I was asking for you to help me with them within their respective posts.
Currently there are no answers in the other posts.

I feel like this is a simple issue that I'm not getting a grasp of. 
I just want to add a checkbox column. 
When the data changes or filtered I want the column to be cleared out.
That would help me tremendously if you can point me in the right direction.

Thank you for your patience

Jerry
0
Accepted
Nick
Telerik team
answered on 23 Mar 2009, 12:19 PM
Hi jerry,

Please find the answer to your question here.

Sincerely yours,
Nick
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
jerry
Top achievements
Rank 1
answered on 23 Mar 2009, 01:43 PM
Nick,

Thank you

Jerry
Tags
GridView
Asked by
jerry
Top achievements
Rank 1
Answers by
Nick
Telerik team
jerry
Top achievements
Rank 1
Share this question
or