Hi, I faced some issues and need help to solve it
I want my table to look like this
but i still got no clue how to make the column can has diff color and get the last row index on datatable(I cannot set a number cause it will always change depend on the db).
I also wanna style my table just like the example (to set column height), but by far my table looked like this
and this is how my datatable code look like
table.DataTable( id='tabel4', style_cell={'textAlign': 'left'}, style_header={ 'textAlign': 'center', 'backgroundColor': colors['kotak1'], 'fontWeight': 'bold', 'maxWidth': '180px' }, merge_duplicate_headers=True, style_table={'overflowX': 'scroll'}, style_data_conditional=[{ "if": {"row_index": 'last row'}, "backgroundColor": "#a8d7ff"}] )
Thankyou