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?
Hello seang,
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.
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?
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!
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?
sounds great.
It seems that the module from jQuery mobile touchDragSelect depended on is no longer serving its purpose, that is being very consistent between the different mobile browsers. This is why we decided to drop this requirement and implement the functionality inside the feature itself. With the next SR (coming in a couple of weeks) you should be able to drag select on touch devices without the need of additional libraries.
I have created a case for this issue. I'll update you there for further information.
Sincerely,
Deyan Kamburov
do you think this will make the next build coming up soon or the same build as 144383.
also I found a few other browsers that work with 4.2.x so its certainly a browser issue.
It seems that the later versions of Firefox throw incorrect event targets which is not expected by Selection and produces the wrong behavior. We have means to circumvent this so you can expect a fix with a future service release. It could potentially solve the issue with Chrome on Nexus 4 but I haven't looked into it yet and it could be something completely different. I'll let you know when I have more information about it.
As for the for the Firefox issue, it'll be logged internally and linked to a support case you'll be able to see and track the progress of.
Thank you again for using Infragistics forums!