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
|
|
|
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
|
|
|
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
|
|
|
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
|
|
|
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
|
|
|
|