Hi all
May i ask if there is any way to shift the collapse arrow in data grid detailTemplate from most left to most right?
Thanks
Yu Feng
<GridComponent dataSource={employeeData}
detailTemplate={this.template.bind(this)}
width="auto"
enableRtl={true}>
<ColumnsDirective>
<ColumnDirective field="FirstName"
headerText="First Name"
width="110" />
<ColumnDirective field="LastName"
headerText="Last Name"
width="110" />
|
Hi Joseph
I would just want to shift the collapse icon from left to right without affecting the rest of the text layout. By doing enableRtl would affect the text alignment
dataBound() {
var expandIcon = $('.e-recordplusexpand')
.last()
.clone();
$('.e-recordplusexpand').remove();
$('.e-groupcaption').after(expandIcon);
$('.e-recordplusexpand').each(function() {
$(this)
.children()
.css('float', 'right');
$(this)
.children()
.css('padding-right', '15px');
});
|