I'm now moving the project to portable devices. First up android 4.x...
My first issue is that I dont know how to select cells on a grid? Its kinda sloppy and random. How do you make a selection with touch? I have these
mouseDragSelect: true, // default value for selecting multiple cells with the mouse touchDragSelect: true, // default value for selecting multiple cells with a finger
Also not infragistic related but maybe someone can help. I use jquery ui to move windows. This does not work on a tablet or phone?
I tried to isolate these two files and run them alone:
4.1.1works great with native browser, very slickdoes not work in FirfoxChrome works if I Click, hold, wait 1 second, move.
4.1.x HTC evo lteworks great with native browser, very slickdoes not work in FirfoxChrome works if I Click, hold, wait 1 second, move.
4.2.x nexus 4no native browserdoes not work in Firfoxdoes not work in chrome
iphone 4works perfectly
I'd like this to be more fluent across mobile device, is this something we can expect will get better?
Hello seang,
Please check the sample I am attaching to the post! It contains the module from jQuery Mobile required for touchDragSelect to work. Depending on your project you might be able to reference the whole library but it is not required.
I tested the sample under Android 4.1.2 / Chrome and it works as expected. Please, let me know if you have any issues with it!
Best regards,
Stamen Stoychev
Your example also does not work.
Android 4.2 firefox. Tap and drag moves the webpage. It does not select. Single selection works
Android 4.2 chrome. Tap and drag moves the webpage. It does not select. Single selection works
Android 4.2 opera. Completely messed up.
ipad 2 safari. Tap and drag moves the webpage. It does not select. Single selection works
I tried lots of jesters but I can not drag select. I was able to click and select items but that is not what we want at all. Single click must select a cell and clear any other cell. This part we have working.
"If you leave touchDragSelect enabled you'd be able to select multiple cells with a touch and drag gesture starting from an already selected cell." I tried click to select a cell, the tap and drag - web pages moves, how can you make a selection if the page moves with the finger?
Could you please try to specify what the issue with Selecting on touch is? I've just tried it with the sample http://es.infragistics.com/products/jquery/sample/grid/multiple-cell-selection and it felt accurate.
mouseDragSelect and touchDragSelect are only available with cell selection. If you leave touchDragSelect enabled you'd be able to select multiple cells with a touch and drag gesture starting from an already selected cell. This, however, requires the touch events module from jQuery mobile (if you are unable to reference the whole library due to compatibility issues). Without the library, you could still enable multipleCellSelectOnClick to emulate holding down CTRL while selecting. You'll probably need separate UI to let the end user enable/disable it.
You should also reference Modernizr in your touch-friendly page because our controls rely on its touch device detection to enable touch-specific functionality.