Change value of cell with server side

Change value of cell with server side

WoPrWoPr Posts: 7Questions: 0Answers: 0
edited July 2012 in General
Hi all!

I want to accomplish teh following: With server side enabled, I want to know if it's possible to change the value of a cell after the data returns from server. For example, if the first column returned by the server is UserID (numeric), I want to show the username that corresponds to that UserID, which is on another table. How can I get this to work?

Thanks in advance,
WoPr

Replies

  • allanallan Posts: 63,540Questions: 1Answers: 10,476 Site admin
    Two possible ways:

    1. On the server do a JOIN in the query that is used to get the data
    2. On the client-side, have a 'look up' list of the ids and use fnRender to lok the name up and put it into the table.

    I'd suggest method 1 personally.

    Allan
  • WoPrWoPr Posts: 7Questions: 0Answers: 0
    Ok, I will try it. Thank you very mucho for the reply Allan.

    Best regards,
    WoPr
This discussion has been closed.