Hi all,
I was wondering if in a RepeatingPanel
you could select a row, and then in a function get that value.
This would mean that one could select a row, and then press a button to perform a function on it, i.e. change a value.
Also, is it possible to put entries instead of a plain text label, so you could change its value by typing inside of it.
Thanks very much in advance,
James
Hi, @blackburnfjames .
Let’s deal with your second question first. I heartily recommend skimming the (short!) tutorials at
One of these will show you how to use actual data-entry fields (and checkboxes, etc.) in place of text labels.
2 Likes
The tutorials should give you some insight. For check boxes to select rows - that’ll be extension of putting things other than labels into the row template.
Here’s a mock-up of something similar
A bit of a show and tell and Feature Request
indeterminate checkboxes can be a super useful UI feature
[Screen Shot 2020-03-20 at 17.52.12]
To achieve this in anvil you can do the following - either in the form you need this style checkbox or as a module that you import:
from anvil import *
@property
def indeterminate(self):
return self._indeterminate
@indeterminate.setter
def indeterminate(self,value):
js.call_js('indeterminate', self, value)
self._indeterminate = value
CheckBox.in…
I’ve also including that functionality by default in the tabulator dependency.
Tabulator - with anvil components