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

Dropdown rendering below table #193

Closed
TekSiDoT opened this issue Apr 12, 2016 · 13 comments
Closed

Dropdown rendering below table #193

TekSiDoT opened this issue Apr 12, 2016 · 13 comments

Comments

@TekSiDoT
Copy link

TekSiDoT commented Apr 12, 2016

The new implementation seems to render below the following table row when created inside a row template:

dropdown_overlay

@cagataycivici
Copy link
Member

DataTable cells have overflow: hidden, you can make this work by;

<p:column style="overflow:visible">
   <template>
       <p-dropdown>

So that dropdown overlay can be displayed fully.

@TekSiDoT
Copy link
Author

Thanks, however, the error persists. I've switched off all custom CSS to make sure there's no interference.

@cagataycivici
Copy link
Member

I'm unable to replicate;

       <p-column field="color" header="Color" style="overflow:visible">
            <template #col #car="rowData">
                <p-dropdown [options]="cities"></p-dropdown>
            </template>
        </p-column>

screen shot 2016-04-13 at 19 18 09

@TekSiDoT
Copy link
Author

I've traced the error to a dynamic setting that overwrote the static style=' ', my bad. Thanks for your help!

@TekSiDoT
Copy link
Author

It does, however, still render below the bottom of the table, creating a vertical scroll bar instead:

renderbelow

@cagataycivici
Copy link
Member

This is a regular table right? Not scrollable.

@TekSiDoT
Copy link
Author

It's non-scrollable, correct.

@cagataycivici
Copy link
Member

Ok, we'll check. Reopening.

@cagataycivici cagataycivici reopened this Apr 20, 2016
@TekSiDoT
Copy link
Author

excellent, let me know if you need help reproducing

@cagataycivici
Copy link
Member

cagataycivici commented Apr 26, 2016

Fixed on PrimeUI side as css of datatable is there by removing overflow auto from ui-datatable-wrapper.

@TekSiDoT
Copy link
Author

excellent, I manually excluded the respective css lines, this resolved the issue.

@alex4033
Copy link

Hi, I 'm trying to do the following:

<p-dataTable [value]="detailList"> <p-column header="idDetail"> <template let-col let-detail="rowData" let-rowIndex="rowIndex"> <input type="text" placeholder="Required" [(ng-model)]="detail.idDetail"/> </template> </p-column> </p-dataTable>

My question is what is the correct way to use the ngModel within the <p - dataTable >

@GopiAnnan
Copy link

@cagataycivici
about this issue.
Fixed on PrimeUI side as css of datatable is there by removing overflow auto from ui-datatable-wrapper.

Still I have that issue.. Last row dropdown overflow is hiding.

Could you please confirm this fix is still available ? I dont see any css class name(ui-datatable-wrapper) as part of datatable.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants