EasyUI Forum
April 29, 2024, 11:16:14 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 [2] 3 4
16  General Category / EasyUI for jQuery / Re: Minimum Row Height for Datagrid on: January 07, 2016, 10:47:27 AM
I want to give the size parametric. So the users can change the height as up to their choice.

combogrid is working fine. Now on combobox

 $('#cb_onodetip').combobox(
                    {
                        autoRowHeight: false,
                        onLoadSuccess: function() {
                            $(this).combobox('grid').datagrid('getPanel').find('.datagrid-row').css('height', '50px');
                        }
                    });

I used the code above but it didn't work Sad
17  General Category / EasyUI for jQuery / Re: Minimum Row Height for Datagrid on: January 07, 2016, 06:28:42 AM
Thank You .  This is working nice with datagrid. I also want to adjust the combogrid and combobox  .  I tried this for combogrid but didn't worked.

                $('#cg_').combogrid({
                    onLoadSuccess: function(){
                        $(this).combogrid('getPanel').find('.datagrid-row').css('height', '50px');
                    }
                });
18  General Category / EasyUI for jQuery / Re: Minimum Row Height for Datagrid on: January 05, 2016, 10:53:24 AM
How can we do this with code

I tried ;

$('.datagrid-row').css({'height', '50px'});

But It didn't work.

I am writing  a touch screen app. so This will be very useful. 
Another thing is  combogrid is getting the new height but combo box don't .
19  General Category / EasyUI for jQuery / Re: How to highlight(select) the new inserted row in datagrid on: May 27, 2015, 09:03:28 AM
I don't know the page which the new row will be in.

I used the function below , but it only gets the data of the first ten rows. How can I search the whole data ?

        function findIndex(gelen) {
            var rows = $("#dg_smart").datagrid("getData").rows;
            for (var i = 0; i < rows.length; i++) {
                if (rows["otonum"] == gelen) {
                    return i;
                }
            }
            return -1;
        }

Maybe I can do it on the PHP side, by searching the index ( the index order is by name) of the last added row and then divide id to pageSize to find the page & etc. But if there is a simple way on the client side I want to use it.

There is also another problem finding the proper index. It could be asc or desc or more than one column  can be sortable Huh
20  General Category / EasyUI for jQuery / How to highlight(select) the new inserted row in datagrid on: May 27, 2015, 01:32:16 AM
Let's say I have a datagrid which has  more than 100 records. Pagination is true. and pageSize is 10. The first page is showing and the first row is highlighted (selected). After I insert a record  ( This record will be in the 6th page, according to index name ) I want the grid shows page 6 and the new inserted row is highlighted(selected).
21  General Category / EasyUI for jQuery / Re: how can i style the textbox on: May 17, 2015, 03:43:28 AM
In combogrid I adjusted the font size with the code you have given.

Now I want to ask if there is a solution for the drop down list. Because this time drop down list  header and list font size stays as it is.
22  General Category / EasyUI for jQuery / Re: How can I get the id of focused numberbox on: May 17, 2015, 02:38:03 AM
Thank you. I spend a day to solve this Smiley
23  General Category / EasyUI for jQuery / How can I get the id of focused numberbox on: May 16, 2015, 04:06:01 AM
I want to get the id of focused numberbox or combogrid or any easyui component

The code below is not working


        $(document).ready(
            function() {

                $("input").on("focus", function() {
                    alert($(this).attr("id"));
                });
});

24  General Category / EasyUI for jQuery / Re: how can i style the textbox on: May 14, 2015, 02:59:58 AM
    .numberbox .textbox-text {
            text-align: right;
        }

This aligns ALL of the numberboxes. İf I have specific numberbox how will I do it ?

I tried

#xxid .textbox-text {
     font-size: 24px;
{

But didn't worked
25  General Category / EasyUI for jQuery / Re: How to adjust Tab title font size on: April 27, 2015, 02:44:13 AM
Thank you. <span></span> is working nice Smiley
26  General Category / General Discussion / Re: Combogrid drop down list don't show the selected row on: April 27, 2015, 02:40:34 AM
do I have to use this patch in version 1.42 ??
27  General Category / EasyUI for jQuery / How to adjust Tab title font size on: April 26, 2015, 07:59:14 AM
I want to adjust the font size of tab title, I  searched the forum, looked up the documentation but there is no explanation for this purpose or I coudn't find it. Pls help
28  General Category / General Discussion / Re: How to adjust Accordion items height on: April 22, 2015, 11:27:51 AM
My code is below. I tried to put <header> in  several combinations but none of them worked. Can you show me ?


            <div id="accordion" class="easyui-accordion" style="height: auto;">
                <div title="<span style='font-size:20px;'>Pos</span>" data-options="selected:false" class="anasat"
                    style="overflow:auto;padding:7px;font-weight: bold">
                    <div id="cmenu2" class="cari">Pos Kasa</div>
                    <div id="cmenu2" class="muhkasa">Fişler</div>
                    <div id="cmenu2" class="carifis">Raporlar</div>
                </div>
                <div title="<span style='font-size:20px;'>Ayarlar</span>" data-options="selected:false" class="anasat"
                    style="overflow:auto;padding:7px;font-weight: bold">
                    <div id="cmenu2" class="stokart">Kasa Parametreleri</div>
                </div>
                <div class="web" title="<span style='font-size:20px;'>Flexxi</span>" class="anasat" data-options="selected:true"
                    style="overflow:auto;padding:7px;font-weight: bold">
                    <div id="cmenu2" class="web">Web</div>
                    <div id="cmenu2" class="destek">Destek</div>
                    <div id="cmenu2" class="lisbilgi">Lisans Bilgisi</div>
                    <div id="cmenu2" class="indexegit">Çıkış</div>
                </div>
            </div>
29  General Category / General Discussion / How to adjust Accordion items height on: April 22, 2015, 03:38:35 AM
I want to adjust the height of the accordion items. I searched the forum, I found the way to make bigger the font size but this time the height  remains the same.



30  General Category / General Discussion / Re: Combogrid drop down list don't show the selected row on: January 21, 2015, 11:01:32 PM
If I use pagination=true then dropdownlist don't show the combogrid value.  When pagination=false it is working  fine

I set pagination=true  
I have a a dialogbox. When I open it for a new record combogrid works fine. Dropdown list shows the lines as I write value to the combogrid.

Let's say I select "blue" from the list and I save the record close the dialogbox.

Then I open the diologbox for editing.  The combogrid shows "blue" but when I press the dropdownlist button on the right ,  I can't see "blue" in the grid.  Every time the grid shows only the first ten records. İf "blue" is in the first ten then it shows. But if "blue" is  the 100th record  it doesn't show.


Pages: 1 [2] 3 4
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!