-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Holding shift or control key while clicking a row throws an error, solution inside #51
Comments
What browser are you on? I do not get an error on the latest Google Chrome. |
I think this (or similar problem) was already discussed. I fixed that On Fri, Dec 14, 2012 at 9:06 AM, David Volm notifications@github.comwrote:
|
BTW, can someone please lend me a hand - I am having troubles implementing On Fri, Dec 14, 2012 at 9:12 AM, Naomi Nosonovsky nnosonovsky@gmail.comwrote:
|
WARNING! I don't use modal forms for editing, instead I just hack flexigrid itself and replace text with inputs. Then you just need a way of reading the inputs and sending the result back to the server. You probably need to give each row an id somehow too. place this in your edit button click event or whatever $(grid).find('.trSelected').each(function(i, el) {
$(el).children().each(function(i, el) {
var child = $(el).children().children();
var _chtml = child.html();
child.html('');
$('<input></input>').attr({
'value': _chtml,
'class': $(el).attr("abbr") + ' editarea',
'data': JSON.stringify({
"col": $(el).attr("abbr")
})
}).css(
'width', '100%'
).appendTo(child);
});
}); |
This is a bit tricky, but I also think it would not work for me. In the Also, I am using ASP.NET MVC. On Fri, Dec 14, 2012 at 9:51 AM, David Volm notifications@github.comwrote:
|
@NaomiN |
Thanks, this is helpful. I am going to study it more. On Fri, Dec 14, 2012 at 1:15 PM, David Volm notifications@github.comwrote:
|
This is because the mouseup event handler in function addRowProp is missing its argument.
Currently it is
}).mouseup(function () {
and should be
}).mouseup(function (e) {
The text was updated successfully, but these errors were encountered: