Hello Sir,
I have used
<div class="item row row-item acs-width" ng-repeat="x in
accountStatmentList.accountStatementNodes ">
div class="acs-col-left acs-slno">{{x.slNo}}
div class="acs-col-left col-sep acs-date-amout">{{ x.transactionDate}}
div class="acs-col-right col-sep acs-date-amout">{{x.debtAmount}}</div
div class="acs-col-right col-sep acs-date-amout">{{ x.creditAmount }}</div
div class="acs-col-right col-sep acs-date-amout">{{ x.balance }}</div
div class="acs-col-left col-sep acs-narration">{{ x.naration}}</div
/div>
****Css
My css:
.acs-width { width: 300%; }
.acs-slno{
width: 10%;
}
.acs-date-amout{
width: 35%;
}
.acs-narration{
width: 150%;
}
.acs-col-right {
text-align: right;
padding: 0px 0px 0px 0px !important;
}
.acs-col-sep {
border-left: 1px solid lightgray;
}
.acs-col-left {
padding: 0px 0px 0px 0px !important;
}
i want to show data in the column and increase column according to the content. That means if it content large its column will be large. it content small its column will be small
My data is showen like below. Its column width is not fit according to the content…
How to do it?
Please Help me…