Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

minScreenWidth. data attribute column initialization

$
0
0
Hi,

I would like to use minScreenWidth option for some of my columns for better responsiveness. I have no problem using it with js initialization similar to this example

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.minScreenWidth

However, if I initialize my grid from table, this option doesn't work. I'm trying to do it like this ...

<thead>
    <tr>
        <thdata-min-screen-width="700">Customer</th>
        <th>Code</th>
        <th>Stock Order</th>
        <th>Sales Order</th>
        <thdata-type="date"data-template="#= kendo.toString(SOReqShip, 'dd/MM/yyyy')#">SO Req Ship</th>
        <thdata-type="date"data-template="#= kendo.toString(ArriveDate, 'dd/MM/yyyy')#">Arrive Date</th>
        <thdata-type="number">Days Overdue</th>
        <thdata-type="number">Quantity</th>
        <thdata-field="hiddenDetails"></th>
    </tr>
</thead>

 

Could some one let me know what is the right way to use it?

Thank you.


Viewing all articles
Browse latest Browse all 78072

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>