JDDEV Posted April 7, 2023 Share Posted April 7, 2023 Hi all, I would like to know the name of the theme on the LiveDemo. I would like to have the same uniProgressBarWidget look like. Thanks you. One more question : is it possible to hide a widget for juste one row : for exemple if the value is < 0 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2023 Share Posted April 7, 2023 Hello, 52 minutes ago, JDDEV said: I would like to know the name of the theme on the LiveDemo. uni_sencha2 Quote Link to comment Share on other sites More sharing options...
JDDEV Posted April 7, 2023 Author Share Posted April 7, 2023 Thank you. Is it possible to have just the CSS config for this progressBarWidget ? Tips : for my Show/Hide question, i find this solution : JSHideWidgetInt:string= 'reconfigure=' +'function reconfigure(sender, store, columns, oldStore, the, eOpts) {' +' var widgetColIndx = %d;' +' columns[widgetColIndx].onWidgetAttach = function(column, widget, record) {' +' if (record.data[%d] == %d) {' +' widget.hide();' +' } else {' +' widget.show();' +' }' +' };' +'}'; Quote Link to comment Share on other sites More sharing options...
JDDEV Posted May 25, 2023 Author Share Posted May 25, 2023 Hello, I have got a new issue when my DBGrid is not visible. There is an ajax error : Cannot set properties of undefined (setting 'onWidgetAttach') Before i put my DBGrid not visibled, is it possible to reconfigure it and cancel onWidgetAttach function ? Thank you for answer. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2023 Share Posted May 25, 2023 Hello, Which build of uniGUI are you using? Could you make a simple testcase to reproduce? Quote Link to comment Share on other sites More sharing options...
JDDEV Posted May 25, 2023 Author Share Posted May 25, 2023 I use v.1.90.0.1565 I think it is because when i put DBGrid not visibled, i reinitalize fieldsDef (clear and adds) of the dataset (FDMemTable). If i don't reinitialize the dataset...it is working without ajax error. 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.