EasyUI Forum
May 04, 2024, 06:23:43 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / General Discussion / datagrid update textbox on: September 25, 2019, 07:09:14 PM
I have a datagrid with a combobox and a textbox.   The combobox responds to onChange.  I would like to set the textbox based upon specific results from the combobox.  While this work, when you click away from the row, the textbox becomes empty.  If you click back on the row, the textbox shows the value it should ( and displays it correctly from that point on ).  I've tried a combination of refreshRow and updateRow, which seem to be somewhat unhappy with the comboxbox still in flux.  Is there a proper way to reflect this change?
2  General Category / Bug Report / Re: datagrid on tab incorrect height on: December 24, 2018, 11:01:45 AM
This revision demonstrates the bug:
http://code.reloado.com/upokav3/2/edit#preview

1.  View the tab with the datagrid, observe it is correct
2.  Switch to the first tab
3.  Close dialog
4.  Open dialog
5.  View the tab with the datagrid, observe it is a blank box.

The changes to this revision is the call to the loadData and setting the datagrid to a specific size.
3  General Category / Bug Report / datagrid on tab incorrect height on: December 23, 2018, 03:37:45 PM
I have a dialog which contains a tabs compoent and two tabs.  On the second tab, there is a datagrid.

If I open the dialog the first time, the datagrid displays properly.  If I open the dialog a second+ time, and I default the tabs to the first panel ( not the one with the datagrid ), then the datagrid is blank.  It appears the view height is 0.  I've set everything to fixed sizes and this does not correct the issue.

Here's what the inspector in chrome shows:
   <div class="datagrid-view" style="width: 504px; height: 0px;">
4  General Category / EasyUI for jQuery / Badge Documentation on: April 16, 2018, 09:50:55 AM
Hello, I am unable to find any documentation on badges.  Specifically how to update and whether or not they will display a zero ( or how to turn on/off in that case ).

Thanks!
5  General Category / General Discussion / combobox text formatting on: August 13, 2017, 11:13:55 AM
Hello,

I wanted to be able to put formatting on individual items for the combobox ( read only, not editable ).  The dropdown displays the items just fine, but the textbox displays the html markup.  Is there a way to have it display the text as formatted in the textbox?

Thanks!
6  General Category / Bug Report / Re: Updating Sliders causes error during click on: January 30, 2017, 01:09:43 PM
That worked, thank you!
7  General Category / Bug Report / Updating Sliders causes error during click on: January 21, 2017, 12:03:35 PM
I need to update the slider's min/max as the area they represent is dynamic.  Normally if I do an update an the user isn't about to click the slider to start sliding, all is good.  But if you happen to do an update around the same time the user is pressing the button over the slider knob, you will get the errors below.  This is using 1.5.1 and prior version 1.4.x also exhibited the same error.

      $( "#map_vertical_scroll" ).slider( {
         min: 0,
         max: this.m_ScrollBounds.m_flBoundsHeight,
      } );

jquery.easyui.min.js:445 Uncaught TypeError: Cannot read property 'options' of undefined
    at _43 (jquery.easyui.min.js:445)
    at jquery.easyui.min.js:638
_43 @ jquery.easyui.min.js:445

(anonymous) @ jquery.easyui.min.js:638
jquery.easyui.min.js:389 Uncaught TypeError: Cannot read property 'options' of undefined
    at _39 (jquery.easyui.min.js:389)
    at HTMLDocument._49 (jquery.easyui.min.js:483)
    at HTMLDocument.dispatch (jquery.min.js:4)
    at HTMLDocument.r.handle (jquery.min.js:4)
8  General Category / Bug Report / mask size issue with multiple closed dialogs defined on: June 30, 2015, 09:55:15 AM
Hello,

I have several dialogs defined in the main body of my page, all of which are marked as closed.  As easyui does its default initialization, the vertical size it uses is based upon the call to getPageArea, which ends up being document.documentElement.scrollHeight.  As it processes each dialog, the scroll height continues to increase, despite the fact that the dialogs should not be increasing the overall page size.  When you display a dialog, the mask is much larger than the current document, so the browser creates scroll bars for the mask.

The fix I found was to set the mask to the current size when the dialog is opened ( the addition of the width and height fields below ):

         onOpen: function(){
            if (state.mask){
               state.mask.css({
                  display:'block',
                  zIndex: $.fn.window.defaults.zIndex++,
                  width: ( opts.inline ? state.mask.parent().width() : getPageArea().width ),
                  height: ( opts.inline ? state.mask.parent().height() : getPageArea().height )
               });
            }
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!