Sherzod Posted December 20, 2023 Share Posted December 20, 2023 1 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 20, 2023 Author Share Posted December 20, 2023 procedure TMainForm.UniFormCreate(Sender: TObject); begin //for example with UniDBGrid1, UniDBGrid1.Columns[4].WidgetColumn do begin Enabled := True; AutoPost := True; Widget := UniSliderWidget1; //At the moment, we need to use an already existing widget (more precisely, UniSliderWidget), and change its type to another... JSInterface.JSConfig('xtype', ['rating'], Widget.JSControl); JSInterface.JSConfig('overStyle', ['color: orange;'], Widget.JSControl); JSInterface.JSConfig('scale', ['150%'], Widget.JSControl); end; end; 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 20, 2023 Author Share Posted December 20, 2023 Also with limit (default 5) config. JSInterface.JSConfig('limit', ['10'], Widget.JSControl); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.