[ 
https://issues.apache.org/jira/browse/FLEX-34091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906828#comment-13906828
 ] 

Maurice Amsellem edited comment on FLEX-34091 at 2/20/14 10:10 AM:
-------------------------------------------------------------------

i have reviewed the code you sent and found at least the following errors:

Statement.mxml
Error: ns namespec in ns:MobileGrid not bound 
Fix: added xmlns:ns="http://flex.apache.org/experimental/ns";

Error: in viewStatementDetail(event:GridEvent ) , expected IndexChangeEvent
=> change GridEvent to IndexChangeEvent
=> changed event.rowIndex to event.newIndex

The application starts, but then i get an RTE:  
MobileGridColumn item renderer must implement 
spark.components.itemRenderers.IMobileGridCellRenderer

you must fix your renderers :
- to implement the interface IMobileGridCellRenderer or 
IMobileGridCellTextRenderer
- using ActionScript instead of MXML, for better performance 
(see an example of custom renderers in online ASDOC link)

Good luck


was (Author: mamsellem):
i have reviewed the code you sent and found at least the following errors:

Statement.mxml
Error: ns namespec in ns:MobileGrid not bound 
Fix: added xmlns:ns="http://flex.apache.org/experimental/ns";

Error: in viewStatementDetail(event:GridEvent ) , expected IndexChangeEvent
=> change GridEvent to IndexChangeEvent
=> changed event.rowIndex to event.newIndex

The application starts, but then i get an RTE:  
MobileGridColumn item renderer must implement 
spark.components.itemRenderers.IMobileGridCellRenderer

you must fix your renderers :
- to implement the interface IMobileGridCellRenderer
- using ActionScript instead of MXML, for better performance 
(see an example of custom renderers in online ASDOC link)

Good luck

> Flex Mobile Grid Cannot Select Cell
> -----------------------------------
>
>                 Key: FLEX-34091
>                 URL: https://issues.apache.org/jira/browse/FLEX-34091
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: Grid
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Windows 7 64bit, Flash Builder 4.6
>            Reporter: victor yew
>              Labels: grid, gridclick, mobile, selectionchange
>         Attachments: GridTest.fxp, screenshot-1.jpg
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Something strange happens for Spark Grid when it is applied in Mobile. When 
> the project is debugged in PC, the item in the Spark Grid can be selected as 
> usual. BUT, when it is debugged in mobile device, only top part of the items 
> can be selected while the rest of the items at the bottom part cannot be 
> selected. FYI, I used both the selectionChange and gridClick event. Both 
> reproduce the same bug.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to