Search found 18 matches

by LarssaAndin
Thu Dec 19, 2013 10:37 am
Forum: Help & Discussion
Topic: Cell value update
Replies: 2
Views: 5333

Re: Cell value update

:oops: should have checked closer at my code before posting. The recreation was totally my fault. When I changed the code to a pure refresh (after making sure store is correct) it works quite well. Combined with the fact that handling the popup makes the whole process pretty forgiving of lag this is...
by LarssaAndin
Wed Dec 18, 2013 3:57 pm
Forum: Help & Discussion
Topic: Cell value update
Replies: 2
Views: 5333

Cell value update

I've implemented edit support for my grid (the popup type) and that works fine now. The problem I have is that editing cell values in my application normally results in multiple changes in the grid (it's triggered on the server side). I know which cells are changed so the problem is just how to appl...
by LarssaAndin
Tue Apr 09, 2013 5:09 pm
Forum: Help & Discussion
Topic: getCell with multiple subgrids
Replies: 9
Views: 9360

Re: getCell with multiple subgrids

Now I've worked with it a bit and the changes seems to be working.
I found one small issue where getLocalIndex() fails if there no subgrids. It's not really wrong as there aren't really a relevant "local" context to get index for but some guard code to handle this might be relevant.
by LarssaAndin
Mon Mar 11, 2013 2:04 pm
Forum: Help & Discussion
Topic: getCell with multiple subgrids
Replies: 9
Views: 9360

Re: getCell with multiple subgrids

Excellent, I'm looking forward to the next release! :D

Ok, I'll see if I'll play around with it. Right now I can cheat by using data I get from the server, but I'd prefer to get the real indexes to make the solution more adaptable.
by LarssaAndin
Mon Mar 11, 2013 1:04 pm
Forum: Help & Discussion
Topic: getCell with multiple subgrids
Replies: 9
Views: 9360

Re: getCell with multiple subgrids

Ok, I have now written some code. I understand that the columns are in a tree (visually the headers are in a tree). What I do need is to get the real column index (called cellindex in the cell events). API sugestion for the Column class: getLocalColumnIndex() -> number = the columns index relative t...
by LarssaAndin
Mon Mar 11, 2013 12:25 pm
Forum: Help & Discussion
Topic: getCell with multiple subgrids
Replies: 9
Views: 9360

Re: getCell with multiple subgrids

Thank you for the quick response! It looks lovely! All those changes would be perfect :D I'm now also looking at header events to be able to do select column using a header tap. I haven't started experimenting yet so I'm not totally sure what can be done right now, but it's not obvious how to get ac...
by LarssaAndin
Mon Mar 11, 2013 11:28 am
Forum: Help & Discussion
Topic: getCell with multiple subgrids
Replies: 9
Views: 9360

getCell with multiple subgrids

I'm working on creating a selection model for my grid and it's going pretty well. I have one major problem though. The interaction between celltap that gives row and cell/col index that is relative to the current subgrid doesn't work very well together with getCell on the panel component that works ...
by LarssaAndin
Thu Mar 07, 2013 10:17 am
Forum: Help & Discussion
Topic: Event questions
Replies: 4
Views: 6001

Re: Event questions

mats wrote:Swipe could still be useful for a grid that doesn't use horizontal scrolling (all columns use 'flex'). You could configure the scroller to ignore horizontal scrolls and then swipe becomes useful.
Of course, thinking too much about my own scenario :oops:
by LarssaAndin
Wed Mar 06, 2013 3:02 pm
Forum: Help & Discussion
Topic: Event questions
Replies: 4
Views: 6001

Re: Event questions

Ok, I'll ask on senchas forum about those :) Triggering swipe requires me to swipe very quick so the grid scrolling fails to follow, then that event hits. Not sure I'm going to need it, but if it's not consistent in behavior you might not want it published. I'll try and setup a testcase to see if I ...
by LarssaAndin
Wed Mar 06, 2013 12:06 pm
Forum: Help & Discussion
Topic: Event questions
Replies: 4
Views: 6001

Event questions

I'm testing the touch events and have some questions: I found out that a single tap event is triggered when I release the tap after a longpress/holdtap has triggered, I guess this is a bug? This always happen on ipad and some times in Chrome. If it isn't a bug, can I some how avoid the cellsingletap...