370 questions
0
votes
0
answers
126
views
How to Customize the Native Text Selection Menu in a WebView on iOS in React Native?
I am working on a React Native application where I want to modify the native text selection menu (the menu that appears when you long-press on text). Specifically, I want to add a custom option ...
0
votes
0
answers
90
views
How to place rectangles to selected div corners?
Report designer uses divs to create fields, horizontal and vertical lines. jQuery UI selectable is used to make them selectable.
HTML:
<div class='designer-panel-body' style='height:100px'>
&...
0
votes
0
answers
1k
views
Make selectable buttons in Flutter
I want make selectable buttons(I know how to do it but), i cant do like in example . The first button(all) doesnt need to have icon. And the last two button need to be on new line. When i try all ...
1
vote
0
answers
400
views
Flutter: How to fix SelectableText scroll error in flutter
I have a Selectable Text and a long text. but when i select text with event long press,
the screen has scrolled up top.can you tell me how to solve this problem?
import 'package:flutter/material.dart';...
13
votes
4
answers
4k
views
How to add `overflow` to SelectableText in Flutter?
There is SelectableText widget that allows you to make text selectable. But it misses the overflow parameter, which is required...
Is there any workaround, which can make it work? Or a similar ...
0
votes
2
answers
436
views
Having jQuery UI Selectable both as grid and a list in a table
I have prepared a jsFiddle for my question -
I am trying to have jQuery UI Selectable in a table with yellow header and footer rows. Once as a grid of numbers in the left cell and then as a list of ...
0
votes
0
answers
126
views
How make sortable only for one child
I have an div in which I want to put only one children. That is, after the position of the element, turn off the property sortable and turn it on again after moving his child source code,if you change ...
0
votes
0
answers
65
views
Is there an HTML DOM equivalent to JqueryUI selectable?
Since there are HTML DOM attributes to make an element draggable, droppable and resizable, is there something like it for selectable?
I want to remove JQueryUI dependency (and not replace it with ...
0
votes
1
answer
53
views
Drag non-selectee div within jquery selectable
I'm trying to make a jquery selectable that makes some elements selectable using filter, but also have some other elements with a different class be available for dragging (but I am not trying to make ...
0
votes
0
answers
35
views
Select text interval in a grid without interruptions
I want to click and select a interval of a text using Jquery Selectable, but if this sentence has a line, it breaks the interval.
I guess I am missing some parameter on the
$( function() {
$( "#...
0
votes
2
answers
43
views
Selectable - after selection, element changes it's apperance
I have a small example with draggable - clonable elements. Each element must be dragged first from upper left corner to droppable area (div below).
I would like to mark all selected elements with ...
0
votes
0
answers
456
views
Using jQuery selectable in datatable column checkbox dropdown
I'm trying to use jQuery selectable in a datatable column checkbox list. The fiddle shows the 'Office location' list of checkboxes which all function correctly when selectable is turned off.
With ...
1
vote
2
answers
3k
views
How do I load a selectable javascript in html header
I'm looking for a way to select and load a javascript from the html file arguments. The html file is called as follows:
OSM_Map.html?year=2017 or OSM_Map.html?year=2018
In the OSM_Map.html file ...
1
vote
0
answers
42
views
Jquery Selectable set selected class
I have this table:
<table id="tbl" border="1">
<thead>
<tr>
<th>Action</th>
<th>Note</th>
</tr>
</thead>
<tbody>
<tr>
<...
1
vote
1
answer
429
views
Jquery-ui selectable on position absolute div
I'm using the JQuery-UI Selectable plugin: https://jqueryui.com/selectable/
and I want to select some items inside a sub-menu.
A minimal example:
$(".selectable").selectable();
.parent {
...
5
votes
1
answer
7k
views
jQuery UI: "base is not a constructor"
I've installed jQuery and jQuery UI with npm. Upon attempting to require('jquery-ui/ui/widgets/selectable') in one of my own JS modules, I get the following error message:
TypeError: base is not a ...
0
votes
1
answer
17
views
Jquery Ui selectable issue in angularjs
I have angularjs project.I have used jquery-ui selectable to select cell from table.If i used table with 10 rows and 10 cols selectable is working fine.
but when Create table with 50rows and 50 cols ...
1
vote
2
answers
421
views
Text select able but not editable in the textView
I want the text in the textView select able, copy able but not paste or writable. I want to prevent user writing or pasting over the existing text. How can I do that?
I have used the following code ...
1
vote
1
answer
644
views
Selecting consecutive elements using jQuery selectable
I am trying the Serialize sample in jQuery.
I notice one behavior that I can select unrelated elements using mouse and Ctrl key.
I only want to select consecutive elements and not all elements on ...
3
votes
1
answer
408
views
jQuery UI selectable css transform issue
I have a strange bug concerning the jQuery UI selectable. If I use a transform (scale + translate) within the selectable container, the lasso seems to be incorrect for selecting objects. Visually the ...
0
votes
1
answer
48
views
Jquery selectable: Allow multiselect just for one class/type
I have a table with an ordered list. The ordered list contains selectable timestamps. One table entry "td" is a day. (I am programming a web calendar).
<td class="day"><div class="scroll">...
0
votes
1
answer
44
views
Assign numbered ID to dynamically created Element of selectable Grid by "Yair even or"
I want to assign an ID to every Element(.grid__area) that gets created by the user. For Example: area1, area2 and so on. Problem is that I can't figure out where to place it correctly.
Codepen: https:...
1
vote
2
answers
1k
views
How do I set every selectable li to a different color on click? (JQuery UI)
This a sample of the script I have so far.
The default behavior once an <li> is selected, is to change the background color to orange (also default). My goal is to have every <li> changing ...
1
vote
0
answers
31
views
Onclick event is unbound from anchors with jqueryui selectable
Here is example:
https://jsfiddle.net/u90z12zd/
When I comment $('ul').selectable(); onclick events on anchors work, with selectable events are unbound.
0
votes
1
answer
85
views
Special selection jquery Selectable
I have a calendar grid (for month). And I want to select period for event. Like at the picture:
Picture 1.
Picture 2.
How can I implement such a selection (when user drag down with the mouse over the ...