Telerik Forums
KendoReact Forum
3 answers
167 views

I am using header checkbox wit drop down which has multiple option like All, Page,and None, But i want to make it configurable based on props value.

If my props value is true i want to show check box with drop down else, i want to render simple header checkbox. is there any way to achieve that.

I tried making headerCellRender configurable based on property but that doesn't seems to be working. Please find the logic of headerCellRender and let me know if i am something or is it really possible or not.

const headerCellRender = (cell: any, gridProps: GridColumnProps) => {
if (props.showdropDown) {
if (gridProps.field === 'selected') {
return <DropDownList
data={["All", "Page", "None"]}
style={{ width: 35, paddingLeft: 0 }}
popupSettings={{ width: '200' }}
valueRender={valueRender}
onChange={handleHeaderDropDownChange} />
}
return cell
}
else {
return <GridColumn field="selected" width="30px"
filterable={false}
headerSelectionValue={dataResult.data !== undefined ? (dataResult.data[0] !== undefined && props.data.findIndex((dataItem: any) => dataItem.selected !== true) === -1) : false}
/>
}
}

Stefan
Telerik team
 answered on 27 Aug 2019
1 answer
105 views
When I have multiple grid in same page and if i do header selection for one grid both the grid are getting selected.

Please find the below example.

https://stackblitz.com/edit/react-valgmy-ryjhrr?file=app/main.jsx
Stefan
Telerik team
 answered on 27 Aug 2019
1 answer
540 views

Hi, I am using a Custom HeaderCell with process from kendo-data-query. The sort doesnt work when I use a CustomHeaderCell for that particular column. Can you help me out with that please?

 

Here is the demo link.  https://stackblitz.com/edit/react-62xcv8

Stefan
Telerik team
 answered on 26 Aug 2019
3 answers
113 views

Hi, 

How to collapse the node I have just expanded by clicking the same node when PanelBar expandMode is set to 'Single'.

 

Regards,

Vinod

Stefan
Telerik team
 answered on 26 Aug 2019
1 answer
7.0K+ views

I have RGB value using that i want to background color of cell or text in particular cell. How can i achieve that?

 

Regards,

Mukesh 

 

Stefan
Telerik team
 answered on 26 Aug 2019
1 answer
107 views

I have gird with check boxes, i want to inject count of selected record on grid pager where i am getting all page related info.

How can i achieve that.

 

Regards

Mukesh 

Stefan
Telerik team
 answered on 26 Aug 2019
6 answers
631 views

     Hi,

Can we have custom header checkbox for grid with multiple option like in gamil. Screen shot attached for reference

We want to have a checkbox with drop down having couple of option like page select (which will select record on page) and grid select which will select all records across all pages.

Can we achieve this in kendo react grid.

 

 

Stefan
Telerik team
 answered on 22 Aug 2019
1 answer
146 views
I am using header checkbox with drop down having option all, page and none. Can i have double check box when ALL option is selected.
Stefan
Telerik team
 answered on 21 Aug 2019
1 answer
108 views

We are having problems getting it to work correctly.  Just sort a column in our sample and you will see that scrolling stops working.

https://stackblitz.com/edit/react-a9uvzy

Stefan
Telerik team
 answered on 21 Aug 2019
9 answers
105 views

Hi,

Is it possible to use a button instead of 'TextBox' to open Multiselect list so that it could give a feel of Popup multiselect ?

 

Regards,

Vinod 

Stefan
Telerik team
 answered on 20 Aug 2019
Narrow your results
Selected tags
Tags
General Discussions
Grid
Wrappers for React
Charts
Scheduler
Filter 
DropDownList
Form
DatePicker
Styling / Themes
Editor
TreeList
Styling
PDF Processing
ComboBox
Excel Export
Dialog
Input
TreeView
Upload
Drawer
Button
Drag and Drop
MultiSelect
Tooltip
Accessibility
NumericTextBox
Checkbox
Menu
Gantt
DateTimePicker
PDF Viewer
Popup
Window
AutoComplete
DateInput
Sortable
Data Query
Licensing
TabStrip
Drawing
Calendar
Pager 
Labels 
Localization
TimePicker
GridLayout
FontIcon
Animation
PanelBar
TaskBoard
PivotGrid
Card
DropDownButton
Conversational UI 
DateRangePicker
Splitter
Badge 
Security
Slider
Spreadsheet
ContextMenu
MultiViewCalendar
Stepper
MultiColumnComboBox
MultiSelectTree
TextBox
AppBar
File Saver
ListView
MaskedTextBox
RadioButton
Switch
TextArea
Toolbar
DropDownTree
TileLayout
Map
Avatar
Date Math
Gauge
RadioGroup
RangeSlider
Rating
Loader
ExpansionPanel
SvgIcon
Typography
ProgressBar
ScrollView
Popover
StockChart
RadialGauge
Server Components
AIPrompt
Page Templates / Building Blocks
AI Coding Assistant
Chat
ColorGradient
ColorPalette
ColorPicker
Notification
Ripple
Skeleton
ButtonGroup
Chip
ChipList
FloatingActionButton
SplitButton
ActionSheet
Barcode
QR Code
FlatColorPicker
Signature
BottomNavigation
BreadCrumb
StackLayout
Timeline
ListBox
ChunkProgressBar
Sparkline
FileManager
ArcGauge
CircularGauge
LinearGauge
ExternalDropZone
OrgChart
Sankey
VS Code Extension
InlineAIPrompt
SpeechToTextButton
Chart Wizard
Agentic UI Generator
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
OTP Input
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?