Hi,
I'm trying to export my grid to excel. I'm dynamically building the columns, but they don't get exported unless I hardcode them.
let columns = [],
columnNames = [];
if
(!
this
.state.gridColumns)
return
;
this
.state.gridColumns.forEach(
(column, index) => {
columns.push(
<ExcelExportColumn key={index} field={column.name} title={column.name}/>
);
columnNames.push(column.name);
}
);
return
(
<ExcelExport
columns={columnNames}
data={
this
.state.gridData}
fileName=
"test.xlsx"
ref={(exporter) => {
this
._exporter = exporter;
}}
>
<button
title=
"Export Excel"
className=
"k-button k-primary"
onClick={
this
.export}
>
Export to Excel
</button>
</ExcelExport>
Hi,
I have integrated DateTimePicker wrapper and build the project locally, it seems to be working fine.
However, we have automated process to generate build through Jenkins and when we tried to generate the build it throws attached error
Please help
Hi,
Is it possible to have a DatePicker without any placeholder, just an empty text-box.
Thanks,
Zarko
Hi,
We are using Kendo Editor React Wrapper.
Is there an option to have Find/Replace button and pop-up in editor? That is a useful feature for user if the text they are editing is long.
Thanks,
Zarko
I have a grid with a column format {0:d} when passing in a null value its returning 12/31/1969.
<GridColumn
key= {"InvoiceDate"}
title= {"Inv Date"}
width= {85},
show= {true}
format= {"{0:d}"}
}
Any suggestions?
I copied the window component from the example(https://www.telerik.com/kendo-react-ui/components/dialogs/window/) and wanted to build a form on top of the window component. The drop down list of values is showing behind the window. I tried adjusting the z-index but was unsuccessful. I have attached an example of what i'm seeing. The only additional code I added to the example is shown below. "values" is an array of values from 1-20.
<label class=
"k-form-field"
>
<span> Dropdown </span>
<DropDownList data={
this
.values} />
</label>
We have applied a custom style to grid cells as below,
<Column key={groupArray[0]} title={currentTabColumns[groupArray[0]]} width="148px" field={groupArray[0]} cell = {RerValue} />
the extended class is as below,
export default class RerValue extends GridCell {
render() {
const style = {
backgroundColor: 'red'
};
return <td style={style}> {data} </td>;
}
but now the editing stops. If we remove the custom style the editing works.
Please guide us on how to make this work.
I need to offer the user a "Reset Grid" Button that they can use to reset the grids column widths back to their original values where all columns neatly fit in the viewable area.
I'm doing this in React and Redux based app and we have one column that doesn't have a width, call it the flex column, as we want the grid columns to sick to the edges of the grid and have the flex column adjust in size so all the columns fit perfectly. This works great on initial load. However if the user adjust columns so the width is wider than the grids viewable area and the grid shows a horizontal scroll bar then when the user clicks "Reset Grid" and we give the grid the original column configuration (same one we gave it originally which worked at that time with the flex column not having a width) the grid is fit to the width of the horizontal scrollable area and not of the viewable area meaning we still have horizontal scroll bars and the columns aren't all in view.
How do we accomplish reset like in the older grid and shown here: https://plnkr.co/edit/htk7JcHcWn4Vq8ok4T8l?p=preview