Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to render data after Build/ Unable to se the data in DOM || row is undefined #4163

Closed
Srikant1290 opened this issue Apr 23, 2024 Discussed in #4162 · 8 comments
Closed
Labels
📬 waiting feedback Waiting for assigned user feedback

Comments

@Srikant1290
Copy link

Discussed in #4162

Originally posted by Srikant1290 April 23, 2024
<HvTableRow {...row.getRowProps()}>
{row.cells.map((cell) => (
<HvTableCell {...cell.getCellProps()}>
{cell.render("Cell")}

))}

  I am not able to see the data in the dom itself after Build</div>
@zettca
Copy link
Member

zettca commented Apr 23, 2024

Hey @Srikant1290 👋

Please share more of the code. Are you calling prepareRow(row)? Is the table receiving the data correctly?

You can use our Stackblitz template to create a repo path

@Srikant1290
Copy link
Author

Srikant1290 commented Apr 23, 2024

Hi @zettca
The table is Receiving the data Properly, but when we are trying to map the data from Row, that time
the cell value I am getting inside the page is Undefined after the build, in local it is working Fine

const row = page[i];

@Srikant1290
Copy link
Author

Srikant1290 commented Apr 23, 2024

image (6)

This is what my Columns and data look like, this is the sample data and column I created

@Srikant1290
Copy link
Author

Srikant1290 commented Apr 23, 2024

image (5)

This is how my page is generated, I can see the inside the cells, values I am getting undefined, I am not sure Where it is breaking

@Srikant1290 Srikant1290 changed the title Unable to render data after Build/ Unable to se the data in DOM Unable to render data after Build/ Unable to se the data in DOM || row is undefined Apr 23, 2024
@MEsteves22
Copy link
Contributor

Hello @Srikant1290 👋 Do you still have this issue?

@MEsteves22 MEsteves22 added the 📬 waiting feedback Waiting for assigned user feedback label Apr 30, 2024
@Srikant1290
Copy link
Author

Yes, Still the issue is there

@MEsteves22
Copy link
Contributor

MEsteves22 commented Apr 30, 2024

@Srikant1290 Is it possible to create an example with our Stackblitz template, please? Unfortunately, at the moment we are unable to reproduce the issue on our end.

@MEsteves22
Copy link
Contributor

MEsteves22 commented May 2, 2024

Hey 👋 Since this is the same issue as this one, we'll close this one and continue this thread on the other issue to be less confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📬 waiting feedback Waiting for assigned user feedback
Projects
None yet
Development

No branches or pull requests

3 participants