Giter VIP home page Giter VIP logo

Comments (14)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Hi,
Could you please send me HTML example is possible? I never saw that height is 
reduced.
However there is a bug with some integration of jEditable and DataTables. I saw 
that on the 
http://www.datatables.net/beta/1.8/examples/server_side/editable.html when you 
are clicking on the cells in the same column width is increased by 5px.

There is a bug in editing and I think that jeditable causes this. I have found 
what could be a problem and I reported this to jeditable forum (see 
http://www.appelsiini.net/projects/jeditable comments left by jocapc) but I 
didn't get an answer so I'm not sure whether the change I proposed in the forum 
could resolve the issue.
Could you also attach your example so I can see in what case height is 
decreased?
As a quick fix you can set explicitely width and height of each editor if you 
pass width and height properties in the configuration of column editors.

Thanks,
Jovan

Original comment by [email protected] on 4 May 2011 at 5:11

  • Changed state: Accepted

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
[deleted comment]

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Could you post some code that explicitly sets the width and height of the 
editors?  I am running into the same problem where the edit box winds up being 
half-height.  Oddly enough, this is not occurring  in another page where I am 
using the editable plugin.  I can send you samples, if you like.  Thanks.

Original comment by [email protected] on 5 May 2011 at 7:25

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
You can see example of setting editor width in the 
http://jquery-datatables-editable.googlecode.com/svn/trunk/fixed-width.html 
page. Width is 100px on each editor but you cna place any other value is you 
want.
Could you please send me your code so I cna examine it but I'm sure that it is 
same issue with JEditable as in the online examples I have.

Thanks,
Jovan

Original comment by [email protected] on 5 May 2011 at 10:34

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
[deleted comment]

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
[deleted comment]

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
[deleted comment]

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
[deleted comment]

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
[deleted comment]

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
I got a workaround to work.  I set the (row) height to 100% in my tables:


$(document).ready( function() 
{
    var baseURL = "/Contract/AJAXServlet";

    $("input.dateField").datepicker();
    $("#contractTabs").tabs();
    $("#contractTable").dataTable().makeEditable(
            {
                sUpdateURL: baseURL + "?cmd=cmdUpdateContractRow",
                sDeleteURL: baseURL + "?cmd=cmdDeleteContractRow",
                height: "100%"
            });
    $("#invoiceTable").dataTable().makeEditable(
            {
                sUpdateURL: baseURL + "?cmd=cmdUpdateInvoiceRow",
                sDeleteURL: baseURL + "?cmd=cmdDeleteInvoiceRow",
                height: "100%"          
            });

});

This is better than setting the height to 24px,  which is what I was doing 
before.

Original comment by [email protected] on 6 May 2011 at 6:07

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Here is a file that exemplifies the box resizing problem.  Workaround is 
commented out.

Original comment by [email protected] on 6 May 2011 at 8:22

Attachments:

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Hi Jovan,

Thanks for your reply.. Do you still need that code?  I will need to
round up some of my examples, as I was testing the libraries and just
running through some quick tests.

I will need to find the exact configuration I was using if you do..

-Scott

On Thu, May 5, 2011 at 12:25 PM,
<[email protected]> wrote:

Original comment by [email protected] on 7 May 2011 at 2:51

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
Hi Scott,

Thanks for your code. I think that your solution with setting height to 100% 
resolved a problem. In the latest version of the plugin 1.1.6. I have set that 
by default width and height are set to 100% in all cell editors and it seems 
that resizing issue is gone. In all online examples there is no resizing so I 
assume that it will be fixed in your code too.
Could you please take verison 1.1.6. and check in your code is the resizing 
issue gone without explicit setting the height? You have attached just HTML 
without some CSS files so I cannot be sure that this resolved problem in your 
page but when I have replaced your version of jquery-datatables-editable with 
the lates one height is not changed anymore.

If the version 1.1.6. has resolved problem in your code without patch, could 
you confirm this so I can close this issue?

Thanks,
Jovan

Original comment by [email protected] on 9 May 2011 at 8:40

from jquery-datatables-editable.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 18, 2024
This problem is resolved in the latest version of plugin. I'm closing it.

Original comment by [email protected] on 20 May 2011 at 1:56

  • Changed state: Fixed

from jquery-datatables-editable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.