Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tHTMLInput empty td problem

Hi Community!
I'm using tHTMLInput component with success until this case:
...
<table>
<tr>
   <th>Col_A</th>
   <th>Col_B</th>
   <th>Col_C</th>
</tr>
<tr>
   <td>Row1_A</td>
   <td>Row1_B</td>
   <td>Row1_C</td>
</tr>
<tr>
   <td>Row2_A</td>
   <td> </td>
   <td>Row2_C</td>
</tr>
...

My config in the tHTMLInput component is something like this:
Parent Element: "tr"
Mapping:
Column: Col_A --> Selector Code: "td:eq(0)"
Column: Col_B --> Selector Code: "td:eq(1)"
Column: Col_C --> Selector Code: "td:eq(2)"
It's works fine with Row1, but not with Row2. My result is something like this:
Row1_A|Row1_B|Row1_C|
Row1_A|Row1_A Row1_C|Row1_C|    <----- for td:eq(1) I'm getting td:eq(0) + td:eq(2)
¿How can I get my empty td?
Labels (2)
5 Replies
Anonymous
Not applicable
Author

Any clue?
Anonymous
Not applicable
Author

I still can not figure this out. Can anybody help me?
Anonymous
Not applicable
Author

Hello, 
I have the same problem! Can someonehelp me solve it, please?

jeoste
Creator II
Creator II

Hello,

Can you provide some examples (capture of your job / components or maybe an extract of your html file) that Ican reproduce in local ? Thx
Anonymous
Not applicable
Author

Hello, 

Thank you for your answer.

 

Yes of course,

My config in the tHTMLInput component is something like this:
Parent Element: "tr"
Mapping:
Column: Col_A --> Selector Code: "td:eq(0)"
Column: Col_B --> Selector Code: "td:eq(1)"
Column: Col_C --> Selector Code: "td:eq(2)"

Column: Col_D --> Selector Code: "td:eq(3)"
Column: Col_E --> Selector Code: "td:eq(4)"
It's works fine with some rows, but not with all. My result is something like this:
Row 20_A|Row20_B|Row20_C|Row20_D|
Row25_A|Row25_B|Row1_C|Row25_D|Row25_A+B+C+D+E|    <----- for td:eq(4) I'm getting td:eq(0) + td:eq(1)+ td:eq(2)+ td:eq(3)+td:eq(4)

Thanks,
Best regards, Lokman



Capture1.PNG
Capture2.PNG