?
Solved

datatables inputs disabled on

Posted on 2014-11-18
2
Medium Priority
?
76 Views
Last Modified: 2014-11-18
Im trying to put in a datatable to one of my web apps and the table loads in fine, but then it came to adding draggable in but then the filters stopped working, so after spending quite some time on this I decided to try and replicate the issue on jsfiddle which replicated in the first instance.
http://jsfiddle.net/262r9br1/

The issue seems to be with the 'cancel' option which I want to keep as I only want the title to be draggable.

Any ideas how I can do this to fix this issue?
0
Comment
Question by:tonelm54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
Mrunal earned 2000 total points
ID: 40449969
hi
Just update your draggable function options like:

$('.draggable').draggable(
        {
            containment: "#divContents",
            scroll: false,
            cancel: '.widgetBody',
            handle: "thead"
        });


Add handle property and set only for thead tag.
Reason is that by default it sets complete object as draggable and make it as disabled.

check once and let us know if you are good on this.
0
 

Author Comment

by:tonelm54
ID: 40450267
So in my example I should use:-
handle: ".dragTitle"

Like http://jsfiddle.net/262r9br1/1/
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question