This question is locked. New answers and comments are not allowed.
Hi,
I was able to hide the grid header (containing the column names) by putting a display:none; override on the .k-grid-header class.
We upgraded to version "RadControls_for_Windows_8_HTML_2013_1_417" and that override now causes the group header rows to be duplicated (see attached image "TelerikGrid_DoubleGroupHeader.jpg")
Also attached is an image without the override ("TelerikGrid_ColumnHeaderSingleGroupHeader.jpg").
This image is to show you that the header row I want to hide is the one with the column names, in my case "Select a payee from the list".
I have tried to use your grid style guide to try different combinations, but I'm the opposite of a css guru.
Can you help me hide the grid header row using css - or if there's a property of the grid itself, etc?
Thanks,
Randy
Here is the CSS that used to work
Here is my html
Here is my .js grid code (sorry I don't have the datasource duplicated in here for you, but I could recreate that if you need it)
I was able to hide the grid header (containing the column names) by putting a display:none; override on the .k-grid-header class.
We upgraded to version "RadControls_for_Windows_8_HTML_2013_1_417" and that override now causes the group header rows to be duplicated (see attached image "TelerikGrid_DoubleGroupHeader.jpg")
Also attached is an image without the override ("TelerikGrid_ColumnHeaderSingleGroupHeader.jpg").
This image is to show you that the header row I want to hide is the one with the column names, in my case "Select a payee from the list".
I have tried to use your grid style guide to try different combinations, but I'm the opposite of a css guru.
Can you help me hide the grid header row using css - or if there's a property of the grid itself, etc?
Thanks,
Randy
Here is the CSS that used to work
.billpay #main #gridSectionBillPay .k-grid-header { display: none; /*Hiding Grid Column Header Row*/}Here is my html
<div id="divbillpay" class="billpay fragment"> <section id="peek"></section> <div id="rBpSbSpSectionHeader"></div> <div aria-label="Main content" role="main" id="main"> <div id="divProgressRing" class="displayElement"> <progress id="progressRing" class="win-ring win-medium"></progress> </div> <div id="divbillpayContainer" class="billpayControlGrid hideElement"> <div id="gridSectionBillPay"></div> </div> </div></div>Here is my .js grid code (sorry I don't have the datasource duplicated in here for you, but I could recreate that if you need it)
// Build The RadGridnew Telerik.UI.RadGrid(document.getElementById("gridSectionBillPay"), { dataSource: { data: vm.getPayeeListForGrid(), group: { field: "getTelerikGroupByString", dir: "asc" }, schema: { model: { fields: { getPayeeListSingleLineDisplay: { type: "string" }, getTelerikGroupByString: { type: "string" } } } }, sort: [ { field: "getPayeeListSingleLineDisplayForSorting", dir: "asc" } ] }, columns: [ { field: "getTelerikGroupByString", title: "Payee Group", width: "0px", hidden: true, groupHeaderTemplate: "#='zzzzzzzzzzzzzzzzzzzz'==value ? 'Ungrouped Payees' : value#" }, { field: "getPayeeListSingleLineDisplay", title: "Select a payee from the list" } ], sortable: "none", selectable: (hasPayees ? "row" : "none"), filterable: false, groupable: { enabled: false, staticHeaders: true }, reorderable: false, resizable: false, ondatabound: function (e) { $(".k-grouping-row .k-icon").remove(); }, onchange: payeeGrid_OnSelected});