Hi List,

 Any ideas ? I'm a new on qooxdoo and can't find a way to do that...

Any help is appreciated.

Regards,
Alexandre


On Mon, Mar 28, 2011 at 2:11 PM, Alexandre Biancalana
<[email protected]> wrote:
> HI Gabriel, Thank you for the answer.
>
> Let me try to clarify the question, the id column is not "mapped"
> (RemoteModel.setColumns( [ "First name", "Last
> name" ], [ "first", "last" ] )), so is not visible by the user.
>
> I need to have one id to identify each row in the table, this id is
> provided in the json response and I don´t want to show the id to the
> user.
>
> Regards,
> Alexandre
>
> On Mon, Mar 28, 2011 at 4:25 AM, Gabriel Munteanu
> <[email protected]> wrote:
>> Hi,
>>
>> if you mean you want to access the id of a visible row, where a user can
>> click you can do this:
>>
>>      table.addListener("cellClick",function(e){
>>        var idForTheRowClicked =
>> tableModel.getCacheContent().rowBlockCache[0].rowDataArr[e.getRow()].id;
>>        // do someth with idForTheRowClicked
>>      });
>>
>> you could also do custom manipulation in the _onLoadRowDataCompleted method,
>> and do more than fill the table:
>> this._onRowDataLoaded(result);
>> // add result to my custom data structure that has methods to access id
>> column on its own.
>>
>> or, in case you need to get id of a row that is not yes on the client, you
>> should call a .php file on the server with some arguments, and implement
>> some logic there.
>>
>> cheers,
>> Gabi
>>
>> --
>> View this message in context: 
>> http://qooxdoo.678.n2.nabble.com/Remote-Table-field-map-tp6212835p6213928.html
>> Sent from the qooxdoo mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Enable your software for Intel(R) Active Management Technology to meet the
>> growing manageability and security demands of your customers. Businesses
>> are taking advantage of Intel(R) vPro (TM) technology - will your software
>> be a part of the solution? Download the Intel(R) Manageability Checker
>> today! http://p.sf.net/sfu/intel-dev2devmar
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to