# React Grafana checkbox

**URL:** <https://community.grafana.com/t/react-grafana-checkbox/34937>\
**Category:** General\
**Tags:** api\
**Created:** [August 11, 2020, 11:03am UTC](https://community.grafana.com/t/react-grafana-checkbox/34937 "2020-08-11T11:03:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![herczigdoc](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@herczigdoc](https://community.grafana.com/u/herczigdoc)\
**Post date:** [August 11, 2020, 11:03am UTC](https://community.grafana.com/t/react-grafana-checkbox/34937/1 "2020-08-11T11:03:11Z")

</div>

Dear All,

I am newbie in JS, React and Grafana. I have a task to make a plugin which provides a selecting option from InfluxDB. I can get the important datas from InfluxDB and I can print all the datas as record on the field. However I need to use checkboxes what I would like to select. I tried to read a lot of topic from here but somehow I can not figure out how to use checkboxes. I can print it but could not use it(does not be checked). I guess I do not get this props and render things properly, neither the built-in checkbox UI for Grafana. Somebody could send me an open topic, or help for a “hello world” checkbox usage ?  
Thanks in advance,  
Adam

---

<div class="post-metadata">

**Author:** ![alexkhomenko](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/alexkhomenko/32/11418_2.png) [@alexkhomenko](https://community.grafana.com/u/alexkhomenko)\
**Post date:** [August 12, 2020, 7:13am UTC](https://community.grafana.com/t/react-grafana-checkbox/34937/2 "2020-08-12T07:13:34Z")

</div>

Hi,

Please check our docs on Checkboxes, which also have some examples on how to use them: [https://developers.grafana.com/ui/latest/index.html?path=/docs/forms-checkbox--controlled](https://developers.grafana.com/ui/latest/index.html?path=/docs/forms-checkbox--controlled).

---

<div class="post-metadata">

**Author:** ![herczigdoc](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@herczigdoc](https://community.grafana.com/u/herczigdoc)\
**Post date:** [August 17, 2020, 12:43pm UTC](https://community.grafana.com/t/react-grafana-checkbox/34937/3 "2020-08-17T12:43:58Z")

</div>

Hello Alex,

Thanks for your help and link ! It was really helpfully. One more question ! It is possible to embed a dataspurce plugin into a panel plugin? Now I can use checkboxes what you sent me. On the other half of my project I have to make a query and send it to InfluxDB. Every checkboxes have an own descriptor name and which names have true checkbox state I have to filter with a query. Thanks a lot again!
