dacat / sfapi

Automatically exported from code.google.com/p/sfapi
0 stars 0 forks source link

GetFlexDatagridcellText command #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
How can I use GetFlexDatagridCellText command? I am trying to get the cell 
text in the first row and first column of the datagrid object. But it 
gives a compilation error " Object does not support this property"

Can someone provide an example on how to use it?

I am using sfapi 0.2.6

Original issue reported on code.google.com by khya...@gmail.com on 16 Feb 2010 at 11:33

GoogleCodeExporter commented 9 years ago
I have seen this type of error as JS error.
Are you compiling the .swc into your project.

The pdf that is in the 0.2.6 distrubtion does not correctly reflect how do so. 
It 
uses the old naming.
1) You have to add the sfapi.swc file to your libs folder in your flex project
2) You have to provide the altered project compile instructions 
   -locale en_US -include-libraries "..\libs\sfapi.swc"

Hope this works for you.

Original comment by bilal.so...@gmail.com on 22 Feb 2010 at 4:02

GoogleCodeExporter commented 9 years ago
Hi,

I can call this function without any error:GetFlexDatagridCellText .  but all i 
get is NULL.  i do not know.  In addition, i don't see a function to click on a 
data grid row.  i am using 0.2.6.

if i use 0.2.5, then i can get the value, but it is slow.  and the 0.2.5 
version will have trouble with pop up window that has tree control.

I would like any advice if possible.

thank you.  

Original comment by charliet...@hotmail.com on 7 May 2011 at 6:34

GoogleCodeExporter commented 9 years ago
I used command like flashApp.call("getFlexDataGridCell", "aaa,1,5");
aaa is datagrid's id,1 is row,5 is col

Original comment by zhang_hu...@saisonchina.com on 18 Aug 2011 at 7:39