I have a List View control on the Nintext Form (Ver: 2.11) and I want to rename the column header label instead of SharePoint column name.
Thanks
I have a List View control on the Nintext Form (Ver: 2.11) and I want to rename the column header label instead of SharePoint column name.
Thanks
Hi Sojan,
you will need some JS/Jquery to do that. The column headers are inside a DIV with a "name" property where this properties value is just the column name (use browsers DEV tools to inspect the DOM Structure at this point). This will enable you to query the element you want to change.
Something like
$("div[name='ColumnName']").text("WhateverUWant")
Should do the trick.
Cheers
Philipp
Thanks Philipp, It worked.
I was using the below code, it does work sometimes.
NWF$("a.ms-headerSortTitleLink").filter(function () {
var idclm1 = this.id.match(/diidSort[0-9]ColumnName/);
if(idclm1)
{
NWF$('#'+idclm1).text('Something');
}
});
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.