My SharePoint Online HTML code is as follows:
<div sortable=""
sortdisable=""
filterdisable=""
filterable=""
filterdisablemessage=""
name="Responsable"
ctxnum="14"
displayname="Responsable"
fieldtype="User"
resulttype=""
sortfields="View={6ae319f0-c398-4d0a-b737-b3214732035b}&SortField=Responsable&SortDir=Asc"
class="ms-vh-div">
I attempted to modify it using jQuery with the following code:
$("input[title='Responsable']").css({
'width':'400px',
});
Alternatively, I tried this jQuery code:
$("div[name='Responsable']").css({
'width':'400px',
});
In addition, I experimented with CSS using the following code:
.ms-vh-div [DisplayName='<Responsable>']
{
width : 1000px !important;
}
Unfortunately, none of these attempts proved successful. How can I effectively adjust the width of this div element?