Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!


Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...




Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Developer

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-18-2008, 07:47 PM
wrappingduke
Pupil
Join Date: Mar 2008
Posts: 13
Default Thinlet table in Pocket PC app

Trying to determine what cell is clicked in a thinlet table. I'm aware that a cell is not selectable in the table. I tried using the setMethod to pass a thinlet cell java file that permits access to the XML file.

Here's a sample:

Code:
<CODE class="jive-code jive-java">cell = thinlet.create("cell");
thinlet.setString(cell, "name", String.valueOf(1) + String.valueOf(i));    
thinlet.setString(cell, "text", "some data");
thinlet.add(row, cell);                
thinlet.setMethod(table, "action", "getSelectedCell(cell)", row,thinlet);
</CODE>
However, object (cell) is null in getSelectedCell.

I'm able to use place the method call in the action attribute of the
XML file, i.e. action="getSelectedCell(item)", which of course returns
the row.

Actually, I would like to get the column if the cell can't be determine from a mouse click. Is this possible if the mouse click event is overriden?

any help is appreciated

Last edited by wrappingduke; 04-19-2008 at 01:57 AM..
 
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:35 PM.