Sunday, September 7, 2014

JDev/ADF sample - Calculating HTML ID for ADF UI Table Row

  • Calculating HTML ID for ADF UI Table Row. Each row in ADF UI table is assigned with ID, this is how rows are referenced in HTML. I had a blog post describing how to set a focus for newly inserted row - Improving ADF UI Table CRUD Functionality with Auto Focus. I'm getting ID for selected row using getClientRowKey method and this method returns row identifier, the one which is used in HTML. Blog reader was trying to use the same method to get ID for any row from the table, but it didn't worked for him. The trick is how to construct a key properly, to use this key to retrieve ID. I'm going to describe it in this quick sample application below.
    Download - ADFTableFocusApp_v2.zip

No comments: