This is a migrated thread and some comments may be shown as answers.
Batch Editing and checkbox enabled by default
3 Answers 33 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gurpreet
Top achievements
Rank 1
Gurpreet asked on 30 Jun 2011, 08:05 PM
Hi

I'm trying to use the Batch Update functionality and I have 1 column with checkboxes. I can save the data to the database but when I have to select a checkbox, first I have to click on the cell to enable it and then I can check the checkbox.

Is there a way by which I can have the checkbox cell enabled by default and I dont have to do an extra click to select the checkbox.

Its the same for other cells for editing like having a datepicker control or a dropdown control. For all the editing purposes, there is an extra click to select that cell.

I want to avoid that. Is it possible in Telerik MVC Grid Batch update or not ? if yes, what is the solution for it.

Thanks
Gurpreet

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 01 Jul 2011, 06:23 AM
Hi Gurpreet,

 No, this is not possible. You first need to click a cell to enter edit mode.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jo
Top achievements
Rank 1
answered on 03 Jan 2012, 08:46 PM
Hello Telerik team

I am currently using Telerik's MVC grid batch editing functionality and have found a glitch when entering edit mode within a cell which contains a checkbox.

I noticed that when the user clicks directly on the checkbox, an error appears in the jquery-1.6.4.min.js file with the following message:

'a is null'
'(function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?......'

However, when the user clicks anywhere within the cell that contains the checkbox and not directly clicking on the input element, the error does not appear.

I was wondering if this is going to be fixed in the future releases.  I noticed in your demo that the "Discontinued" column is disabled by default until the user clicks on the cell in order to change the state - I am assuming this prevents the error from occurring.

Is this something the team is currently looking at?

Thanks for your time
Jo


0
Jo
Top achievements
Rank 1
answered on 06 Jan 2012, 11:26 PM
Hi there,

Does anyone have an answer to the previous post regarding the checkbox error?
Tags
General Discussions
Asked by
Gurpreet
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jo
Top achievements
Rank 1
Share this question
or