WolfgangFahl / nicegui_widgets

nicegui widgets
http://ngdemo.bitplan.com
Apache License 2.0
14 stars 2 forks source link

add set_checkbox_renderer #56

Closed WolfgangFahl closed 5 months ago

WolfgangFahl commented 5 months ago
def get_column_def(self,col:str)->Dict:
        """
        get the column definition for the given column

        Args:
            col (str): The field name of the column where checkboxes should be enabled.

        Returns:
            Dict: the column definition
        """

def set_checkbox_renderer(self,checkbox_col:str):
        """
        set cellRenderer to checkBoxRenderer for the given column

        Args:
            checkbox_col (str): The field name of the column where 
            rendering as checkboxes should be enabled.

        """