Comments (7)
What browser are you on? I do not get an error on the latest Google Chrome.
from flexigrid.
I think this (or similar problem) was already discussed. I fixed that
problem locally (because I made few other changes, but I am not using Git).
On Fri, Dec 14, 2012 at 9:06 AM, David Volm [email protected]:
What browser are you on? I do not get an error on the latest Google Chrome.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-11379184.
from flexigrid.
BTW, can someone please lend me a hand - I am having troubles implementing
Edit functionality in modal form. I posted my problems in jquery forum (no
replies there) and in ASP.NET forum
http://forums.asp.net/p/1864975/5239799.aspx/1?p=True&t=634910728793808200
On Fri, Dec 14, 2012 at 9:12 AM, Naomi Nosonovsky [email protected]:
I think this (or similar problem) was already discussed. I fixed that
problem locally (because I made few other changes, but I am not using Git).On Fri, Dec 14, 2012 at 9:06 AM, David Volm [email protected]:
What browser are you on? I do not get an error on the latest Google
Chrome.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-11379184.
from flexigrid.
WARNING!
Unrelated topic below.
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);
});
});
from flexigrid.
This is a bit tricky, but I also think it would not work for me. In the
grid I only show 4 columns, but I have a nice form with much more
information.
Also, I am using ASP.NET MVC.
On Fri, Dec 14, 2012 at 9:51 AM, David Volm [email protected]:
WARNING!
Unrelated topic below.@NaomiN https://github.com/NaomiN
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); });});
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-11380785.
from flexigrid.
@NaomiN
Iv'e never touched ASP.NET so I'm not sure I can help you.
Here is an example of modal forms with jQuery UI:
http://jqueryui.com/dialog/#modal-form
from flexigrid.
Thanks, this is helpful. I am going to study it more.
On Fri, Dec 14, 2012 at 1:15 PM, David Volm [email protected]:
@NaomiN https://github.com/NaomiN
Iv'e never touched ASP.NET so I'm not sure I can help you.
Here is an example of modal forms with jQuery UI http://jqueryui.com:
http://jqueryui.com/dialog/#modal-form—
Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-11388424.
from flexigrid.
Related Issues (20)
- Scrolling horizontally via mobile does not scroll column headers, only content
- Custom columns
- Searching HOT 1
- Flexigrid is displaying "null" when it gets the JSON object from Rest services.
- use Chrome & Firefox thead tbody can't align HOT 1
- Event for colresize line onColResize
- hi,i want move merge the header columns,then the content columns also moving,How can i do ?
- Search and Clear button issue in IE8
- Problem with type long HOT 1
- How to Stored Procedure with Multiple tables. HOT 1
- flexigrid.pack.css out of sync HOT 1
- Flexigrid slows down when a lot of columns are defined
- Does Flexigrid still update? HOT 1
- onChangeSort is not repopulating gris
- Resizable column bug with hidden columns
- Disable unselected rows property
- Chrome input filter lose focus
- Can`t hide Column headers
- How to fire an event on double click on row
- Flexigrid - not working column resizing on touch devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexigrid.