Query a Table with DataSource

93 views
Skip to first unread message

Kavi

unread,
Sep 4, 2012, 8:39:20 AM9/4/12
to calaba...@googlegroups.com
Hi Karl, 
I have 2 tables and the query result is as follows

query("view:'UITableView'")
=> [{"class"=>"UITableView", "UIType"=>"UIView", "frame"=>{"x"=>0, "y"=>0, "height"=>247, "width"=>320}, "description"=>"<UITableView: 0x6071600; frame = (0 0; 320 247); clipsToBounds = YES; autoresize = W+H; layer = <CALayer: 0xd3167c0>; contentOffset: {0, 72}>. Delegate: MyTable, DataSource: MyTable"}, {"class"=>"UITableView", "UIType"=>"UIView", "frame"=>{"x"=>1, "y"=>1, "height"=>255, "width"=>238}, "description"=>"<UITableView: 0x6093c00; frame = (1 1; 238 255); clipsToBounds = YES; layer = <CALayer: 0xd3272e0>; contentOffset: {0, -0}>. Delegate: DropdownList, DataSource: DropdownList"}]


Can i filter the table with DataSource or Delegate???

Kavi

unread,
Sep 5, 2012, 2:13:33 AM9/5/12
to calaba...@googlegroups.com
I tried as below

query("view:'UITableView'",:DataSource)
=> ["*****", "*****"]

Krukow

unread,
Sep 5, 2012, 6:54:15 AM9/5/12
to calaba...@googlegroups.com
Try 

query("view:'UITableView'",:dataSource)
Reply all
Reply to author
Forward
0 new messages