c# - Dev Express grid column headings - can they reduce? -
i have dev express grid, changed size 100% 42% because data short. 1 question, column headings, dictate size of data col. there way reduce font size on 1 col, y/n type of data not large.
dx:aspxgridview id="gvd_cw" clientinstancename="gvd_cw" runat="server" autogeneratecolumns="false" datasourceid="ldsd_cw" keyfieldname="id" onhtmlrowcreated="gvd_cw_htmlrowcreated" width="42%" settingsbehavior-allowgroup="true" settingspager-pagesize="20" oncustomcallback="gvd_cw_customcallback"> <settings showfilterrow="false" showfilterrowmenu="true" showgrouppanel="true" showfooter="true" /> <settingsbehavior allowsort="false" /> <settingspager> <pagesizeitemsettings visible="true" items="10, 20, 50" /> </settingspager> <columns>
have tried
<columns> <dxg:gridviewdatacolumn fieldname="yesno" width="100" visibleindex="3" > <headerstyle wrap="true"/> </dxg:gridviewdatacolumn> </columns> the aspxgridview control resizes columns display text. if total column width wider grid's width, grid's width increased page's width. can use
columnminwidth - specifies minimum width of grid columns. minwidth - specifies minimum width of current column.
Comments
Post a Comment