Smart-Table icon indicating copy to clipboard operation
Smart-Table copied to clipboard

How to use Smart-table along with Print as part of feature

Open elangesk opened this issue 10 years ago • 3 comments

Hi,

I am facing issue to implement AngularPrint with Smart-table to print entire table. Since I am facing issue I put another smart table with st-safe-src="smapleData" st-table="chkDisplayed" search-watch-model="search" and proceeding. Put this approach lead to page load performance issue.

<div print-section print-only>
 <div st-safe-src="smapleData" st-table="chkDisplayed" search-watch-model="search">
            <table class="table table-responsive table-striped" print-table="chkDisplayed" print-landscape>
</table>
</div>
</div>

Could please advise the right approach to use print entire table rows as formatted way. If possible please provide Plunker code base as sample.

Regards, Elan

elangesk avatar Mar 25 '16 13:03 elangesk

@ lorenzofox3 could you please provide your advice on this issue.

elangesk avatar Mar 25 '16 14:03 elangesk

I am sorry.

I don't know AngularPrint, I don't know search-watch-model and this is not relevant for the issue section template of smart-table.

As the issue template suggests open an issue when you find a bug or if you have a well defined problem, which can be reproducible. Otherwise use Stackoverflow and other chats.

Thanks for your cooperation.

PS: if the goal is to display something different for print I would simply use css media queries

regards Laurent

lorenzofox3 avatar Mar 26 '16 03:03 lorenzofox3

@lorenzofox3 Thanks for your reply. My issue is How to print entire table rows data to printer even we implemented pagination for smart table.

I have use angularPrint feature for time being. If you provide sample snippet in Plunker code base will support more.

elangesk avatar Mar 28 '16 14:03 elangesk