EasyUI Forum
April 25, 2024, 10:59:04 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
1  General Category / EasyUI for jQuery / How to autosize datagrid so that it occupies whole of accordion on: January 19, 2017, 10:53:46 PM
Hi,

I have a datagrid within accordion which can be collapsed to right and can also be expanded. Now let's assume the datagrid columns occupy entire width of my accordion. When I pull accordion to left to increase its width then datagrid now occupies 70% of accordion width leaving the increased 30% space blank. How to auto size datagrid width to accordion width ? So if i increase or decrease width of accordion, my datagrid within will also resize automatically.

Thanks,
JPi
2  General Category / General Discussion / Re: How to achieve responsive header on: December 29, 2016, 04:36:20 AM
Hi stworthy,

Please refer to the attached file and help with issues highlighted in blue and red.

Thanks,
JPi
3  General Category / EasyUI for jQuery / How to freeze datagrid selection while filtering on: December 29, 2016, 04:23:27 AM
Hi,

I have a datagrid and filtering is enabled using enableFilter method. Now let's take an example like demonstrated below -

checkbox   Brand     Quantity
checkbox   Lenovo   10
checkbox   HP         30
checkbox   Asus       50
 If I filter by brand 'Asus', then record 3 only appears which is correct then I click on checkbox for selecting the Asus row. Once I remove the search criteria i.e. Asus, the data reloads in table with all 3 records and checkbox selection disappears. Is there a way to keep the selected rows intact on filter/ de-filter actions ?

Thanks,
JPi
4  General Category / General Discussion / Re: How to achieve responsive header on: December 08, 2016, 03:23:49 AM
Hi stworthy,

I do get the right and left arrows to navigate the tab. What I meant is the header area (containing img - logo, logout button and a easyui - search box) gets overshadowed by tab row. Within tabs all get self aligned with respect to screen size. No issue there.

What CSS should I apply so that the header div tag also becomes responsive ?

Thanks,
JPi
5  General Category / General Discussion / How to achieve responsive header on: December 08, 2016, 12:37:21 AM
Hi,

I have a issue during browser window resizing and during screen magnification. The html page compromises header area followed by easyui controls like tabs. The issue during resizing of browser or magnifying the screen is that the easyui controls are acting responsively but not the header. How to overcome the issue ? The tabs are overflowing into the header area.

Thanks,
JPi
6  General Category / EasyUI for jQuery / How to know the last visited tab on: November 03, 2016, 12:40:47 AM
Hi,

I have 4 tabs on my main screen say A,B,C,D. I need to perform some action if the last visited tab was C. So what is the code to check and perform some logic if last visited tab is C prior to navigating to the current selected tab of user.

Thanks,
JPi
7  General Category / EasyUI for jQuery / Re: onClickCell of subgrid on: November 02, 2016, 09:18:45 PM
Thanks ! It works fine.
8  General Category / EasyUI for jQuery / Re: onClickCell of subgrid on: November 01, 2016, 10:39:31 AM
Thanks Stworthy ! I shall try out and get back to you.
9  General Category / EasyUI for jQuery / onClickCell of subgrid on: November 01, 2016, 05:31:11 AM
Hi,

I am using detailview for subgrid layout of my table. I have a button within the subgrid and on click of it, attachment should open pertaining to that row of subgrid. However I always get index as 0 inspite of clicking any other row.

Can you pls help with code of button within subgrid that will help me find the parent row index ?

Thanks,
JPi
10  General Category / EasyUI for jQuery / Re: Datagrid Filter error on: October 17, 2016, 03:29:28 AM
My bad. Forgot to mention that the datagrid is of class="easyui-datagrid". Now working as expected.
11  General Category / EasyUI for jQuery / Datagrid Filter error on: October 17, 2016, 02:27:21 AM
Hi,

I am trying to load datagrid on initialization of my project and I am getting the below error for a specific datagrid loading. What could be the possible cause for this ?

Unable to set property 'filterSource' of undefined or null reference

Snippet from datagrid-filter.js

var oldLoadDataMethod1 = $.fn.datagrid.methods.loadData;
   $.fn.datagrid.methods.loadData = function(jq, data){
      jq.each(function(){
         $.data(this, 'datagrid').filterSource = null;  ---> error line
      });
      return oldLoadDataMethod1.call($.fn.datagrid.methods, jq, data);
   };

Thanks,
JPi
12  General Category / EasyUI for jQuery / Re: Dynamic font color for table rows depeneding on specific value of a column on: October 14, 2016, 02:20:56 AM
Thanks stworthy. I shall try it.
13  General Category / EasyUI for jQuery / Re: Is dynamic tab title possible ? on: October 14, 2016, 02:20:43 AM
Thanks stworthy. I shall try it.
14  General Category / EasyUI for jQuery / Is dynamic tab title possible ? on: October 13, 2016, 09:19:34 PM
Hi,

I have a scenario where there are 3 tabs. Eg. Inbox, LeaveApply and HolidayList.

In Inbox tab, there is a datagrid showing list of new mails and the count of unread mails need to be displayed in bracket like Inbox (5) which means there are 5 unread mails. While a user works on LeaveApply tab and the user's unread mailbox count increases to 7 then how to dynamically display Inbox (7) without navigating to Inbox tab. I need to show dynamic title for Inbox while working on other tabs.

Is this possible and if so how ?

Thanks,
JPi
15  General Category / EasyUI for jQuery / Dynamic font color for table rows depeneding on specific value of a column on: October 13, 2016, 09:13:00 PM
Hi,

I have a scenario where certain rows of datagrid need to have a color different than the remaining rows based on value of a specific column.

Eg . RollNo  Name   Age   FontRed
        23     Adam     10     X
        45     James     9     
        67     Lily        10     X

Since FontRed is for rows - Adam and Lily, only those 2 rows should have entire row font color as red else green. How can this be achieved ?

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