Questions tagged [rsuite]

55 questions
0
votes
1 answer

why do I get Error in density.default while creating bean plot

I am trying to create a beanplot: library(beanplot) beanplot(df, col="#cccccc", log="y", names="plot-1", yaxt="n", overallline="median", ll=0.00001) However, I get the following error: Error in density.default(mlog(x), bw = bw, kernel = kernel,…
Exploring
  • 2,493
  • 11
  • 56
  • 97
0
votes
1 answer

How to control the time of day in React Suite's DateRangePicker?

I cannot for the life of me figure out how to default the time of day in DateRangePicker to 00:00:00 for start date and 23:59:59 for end date. The time of day simply defaults to the current time on the computer, which, frankly, is rarely what the…
codemonkey
  • 7,325
  • 5
  • 22
  • 36
0
votes
1 answer

How to resize Row in React Suite Grid to height of tallest cell

I am working with React Suite's Grid to display university course data in a calendar format. The grid works great, other than the cell heights not being uniform: An image example of my Grid UI Here is the code I currently have for the grid:
0
votes
1 answer

How to programmatically update the value of a TagInput in RSuite?

I am trying to update the value of a RSuite TagInput programmatically to assist the user in inputting more complex values through an interface. However, no matter what I try it seems the TagInput will only update when the user interacts with it…
0
votes
1 answer

How to solve 'Dispatch>' is not assignable to type '(value: DateRange | null, event: SyntheticEvent) => void'

In Rsuite DateRangePicker, an Error is coming like Type 'Dispatch>' is not assignable to type '(value: DateRange | null, event: SyntheticEvent) => void'. Types of parameters 'value' and 'value' are…
0
votes
3 answers

React rsuite reset select box value

I have rsuite SelectBox, I want to reset its value from outside. when I set it to null or undefined or empty string, it doesnt work. I read the source code, I get the felling that it is by design, only when you use it as part of a form. but this…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
0
votes
1 answer

Rsuite TreePicker clear selections programmitacally - ReactJS

I am using TreePicker & CheckTreePicker from rsuite package. I would like to clear the selections programmatically for the tree picker when certain props value is changed. I am able to trigger event in the useEffect when value of selectItemchanges ,…
relu
  • 333
  • 1
  • 3
  • 18
0
votes
1 answer

How install npm dependency (rsuite) from github repository

I'm using next js 11. I want to edit an rsuite component, so I understand that I need to clone the dependency https://github.com/rsuite/rsuite.git, and in my branch make the changes and then install it. The problem is that while I can install the…
0
votes
1 answer

Is there any way to change the message of empty data in RSuite-table?

I would like to change the message that appears when the prop data is an empty array. I cannot find any prop to modify this. Is there any solution for this? I would like to translate this message to other language.
0
votes
1 answer

How to add a validation from the select renderer using the rsuite in react

const [application, setApplication] = useState([]) const [app, setApp] = useState([ { id: null, code: null, name: null } ]); useEffect(() => { let ignore = false; (async function load() { let response = await…
user13780186
0
votes
1 answer

TypeScript react - JSX element type 'Modal.Header' does not have any construct or call signatures

I am learning development in TypeScript and React. I'm using rsuite for graphical components - so far, I have used plenty of components from this suite without an issues. But now I am trying to create a modal dialog and cannot figure out how to use…
j0hny
  • 431
  • 1
  • 5
  • 16
0
votes
0 answers

How to fix modal closing when typing using react hook

const formRef = useRef(null); const [model, setModel] = useState(null); const [modal, setModal] = useState(false); const [formData, setFormData] = useState(); useEffect(() => { let ignore = false; if (!ignore) { …
user13780186
0
votes
1 answer

Fixed or Frozen column of rsuite table is not working

I created a table using RSuite Table and trying to fix few columns to the left of the table when scrolled right as my table has many columns. However the columns are not staying in the view
Buddha
  • 4,339
  • 2
  • 27
  • 51
0
votes
1 answer

How to set a value on rsuitejs selectpicker

const _DATA = [{ code: 'code1', name: 'Jagger' },{ code: 'code2', name: 'Tigger' },{ code: 'code3', name: 'Lion' }] {return {label: x.name, value: x.code} })} style={{ width: 224 }} …
user13780186
0
votes
2 answers

Trouble getting react-suite to work within Gatsby project

I'm just starting out developing with Gatsby (or doing frontend in general) and I wanted to add a Navigation bar to my website using React Suite. However, when importing the corresponding stylesheet in my index.js: import…
mabergerx
  • 1,216
  • 7
  • 19