Author Topic: How can we add single selectable checkbox in a grid in Pivot mode?  (Read 1443 times)

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Our requirement is to add an checkbox in front of last child of group tree as shown in image2 below.

Checkbox should be single selectable at time and on checked its cell background-color should get change in any other color.

Please give some example of it.

Problem url:

https://stackblitz.com/edit/js-y31u1u?file=index.html
« Last Edit: June 05, 2020, 04:37:44 pm by EPM Solutions »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5127
    • View Profile
Re: How can we add single selectable checkbox in a grid in Pivot mode?
« Reply #1 on: June 05, 2020, 08:25:04 pm »
[ Only Pro members may read this post. ]

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: How can we add single selectable checkbox in a grid in Pivot mode?
« Reply #2 on: June 06, 2020, 11:32:12 am »
Hello Team,

Thanks for quick reply,

Yes I need the same. But when we checked a node, sets background-color to light red or purple of Company Name(chhild node). Checking another row causes previous row to be set unchecked(set default background).

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5127
    • View Profile
Re: How can we add single selectable checkbox in a grid in Pivot mode?
« Reply #3 on: June 08, 2020, 11:15:06 am »
[ Only Pro members may read this post. ]
« Last Edit: June 08, 2020, 12:16:02 pm by paramvir »

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: How can we add single selectable checkbox in a grid in Pivot mode?
« Reply #4 on: June 08, 2020, 12:58:57 pm »
Hello Team,

Thanks,

I have one problem, I applied the your suggested css code in a grid with bootstrap theme in below URL.

It is not working. Can you please check it?

Problem URL:
https://stackblitz.com/edit/js-9vbyfq?file=index.js
« Last Edit: June 08, 2020, 01:11:47 pm by EPM Solutions »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5127
    • View Profile
Re: How can we add single selectable checkbox in a grid in Pivot mode?
« Reply #5 on: June 08, 2020, 02:47:30 pm »
[ Only Pro members may read this post. ]

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: How can we add single selectable checkbox in a grid in Pivot mode?
« Reply #6 on: June 08, 2020, 03:54:34 pm »
Hello Team.

Thanks a lot. :)