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

Fix #3310: RowExpansionTemplate allow for custom rendering #3317

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

melloware
Copy link
Member

Feature Requests

Fix #3310: RowExpansionTemplate allow for custom rendering

This will allow you to take control of the rendering like this..

const rowExpansionTemplate = (data, options) => {
    options.customRendering = true;

    return (
      <>
        <td colSpan={2}>name xx</td>
        <td style={{ background: "lightblue" }}>price template expanded</td>
      </>
    );
  };

@melloware melloware added the Core Team Issue or pull request has been *opened* by a member of Core Team label Sep 13, 2022
@melloware melloware merged commit 8827573 into primefaces:master Sep 13, 2022
@melloware melloware deleted the PR3310 branch September 13, 2022 22:55
@mertsincan mertsincan self-requested a review September 13, 2022 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team Issue or pull request has been *opened* by a member of Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Datatable: Remove Expanded 'td' element returned with 'tr'
1 participant