Qooxdoo 1.3
RPC call to a PHP backend

Everything seems to work just fine, which is to say that I can generate a table, scroll through it without issue and see everything I expect to see. However, every time I try to make a call to getRowCount(), it always returns 0. The only time I can successfully debug-print an accurate row count is if I enable the < this.debug("row count loaded: " + rowCount); > line in Remote.js.

In general terms:

  1. generate a new RemoteDataModel instance
  2. set the column names and field names
  3. generate a table using the datamodel and a resize columnmodel
  4. set some resize behaviors based on column names and toss in a
     couple of listeners to do things when things are clicked

What I want to be able to do is suppress the table display when there are no results available. table.getTableModel().getRowCount() seems like the logical choice, but I can't seem to make it work. Based on the speed at which it returns 0, it doesn't even seem to be trying to request the count. I'm sure it's something simple, but I'm not seeing the flow. Does anyone have any insight regarding how this is SUPPOSED to work?

Any help would be greatly appreciated...

Stewart
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to