RadiantQ Forum
Product => jQuery Gantt Package => Topic started by: ssunder on August 11, 2014, 11:42:41 AM
-
Hi Team
I want to perform single click edit operation in place of double click, but not able to find any solution from given example at your site.
Please let me know how it is possible? when single click on any column of gantt table, table column should be
editable.
Thanks
-
Shyam,
Current behavior is rows will get selected on single click, and single click on the selected row will start editing. Is this what you required?
Regards,
-Raja.
-
Raja
I want when click on any row's columns that row will be selected and only these columns Description/ Start Time/ End Time/ Duration/ % complete/ Predecessor will be editable on single click.
Thanks
Shyam
-
Shyam,
Looks like you want to keep some columns as read-only, have you already set this up or not yet?
Regards,
-Raja.
-
Hi Raja
I am able to keep some columns as read-only but I want some other columns should become editable and selected only on single click.
Regards,
Shyam
-
Shyam,
We have sent the latest source js to you that gives you an option to enable editing on single click. Here is the code usage,
$table.gridEditor({
canBeginEdit: function (actview) {
// To use single click edit.
if (condition)
return true;
// To use the Default behavior.
return actview.IsSelected();
},
start: function (event, ui) {
//return false; /*To prevent default action, default action, set the value to the textbox base on column name*/
},
submit: function (event, ui) {
// return false; to discard changes.
}
});
Regards,
-Raja.
-
Hello Team,
Thanks for you valuable response.
But after implementing given example with new js “RadiantQ-jQuery.Gantt.4.5.min.js” we are getting an issue.
Issue Detail for single click edit functionality:
First time when we click on row it will select the row not create column as editable.
First select the row then click on column it will create column as editable than press enter, now focus will move to next column and create it editable, hit multiple time enter, some how it will loose the focus and leave some of column as editable.
-
Shyam,
We are looking on, we will update you soon.
Regards,
-Raja.
-
Shyam,
1) We found that, There is no reference to our latest src js in the given reference sample. Could you make sure, you have referenced to our latest src js and use the "canBeginEdit" code as we said in this forum for single click edit.
2) We aren't able to reproduce this editing is not getting closed issue after enter key is pressed. We have sent the video what we have tried.
Could you please make sure that you are referring to our latest src js and css files? Is there any error message in browser console?
Regards,
-Raja.