jQWidgets Forums
Forum Replies Created
-
Author
-
June 26, 2017 at 5:24 pm in reply to: Grid Aggregate Total values with negative sign show in front of dollar Grid Aggregate Total values with negative sign show in front of dollar #94547
Sweet I figured out using the custom cell format from the thousand separator post.
June 23, 2017 at 6:43 pm in reply to: Two grids and keeping track of checkbox selection Two grids and keeping track of checkbox selection #94526Sorry about that. I updated it
https://www.jseditor.io/?key=grid-two-select-2June 21, 2017 at 1:59 pm in reply to: jqxgrid rowselect selectsallrows in nested grid jqxgrid rowselect selectsallrows in nested grid #94459Adding to the previous post: I tried what you said about able to selecting the 3rd level nested grid, and I was not able to bind a rowselect. What did I do wrong here? I named the 3rd level grid as “grid1_2”
Here is the jsfiddle:
https://www.jseditor.io/?key=jqwidgets-nested-grid-new-row-1-2June 21, 2017 at 1:29 pm in reply to: jqxgrid rowselect selectsallrows in nested grid jqxgrid rowselect selectsallrows in nested grid #94457Hi Hristo,
I also noticed that onload the selection does not work it just shows this in the error
Error: Uncaught Error: Invalid Selector – #grid0! Please, check whether the used ID or CSS Class name is correct.
Error: Uncaught Error: Invalid Selector – #grid1! Please, check whether the used ID or CSS Class name is correct.Here is my jsfiddle:
https://www.jseditor.io/?key=jqwidgets-nested-grid-new-row-1June 21, 2017 at 4:42 am in reply to: jqxgrid rowselect selectsallrows in nested grid jqxgrid rowselect selectsallrows in nested grid #94446Hi Hristo, one more thing
So what if the nested grid has another nested grid. So the first nested grid will be set as “grid” and now another nested grid will be “grid2”. So will the rowselect event be like this for the first nested grid? Because I also want to bind the same function to both nested grids.
grid.on(‘rowselect’, function (event) {
// event arguments.
var args = event.args;
// row’s bound index.
var rowBoundIndex = args.rowindex;var rowData = args.row;
var isMasterGrid = event.target.id == “grid”;
if (isMasterGrid) {
var nestedGridSelector = ‘#grid2’ + rowBoundIndex;
$(nestedGridSelector).jqxGrid(‘selectallrows’);
}
});June 21, 2017 at 3:21 am in reply to: Nested Grid using JSON and AJAX to get data? Nested Grid using JSON and AJAX to get data? #94445Thanks
June 19, 2017 at 6:22 am in reply to: jqxgrid selectedrowindexes add icon in rows jqxgrid selectedrowindexes add icon in rows #94410Hi Hristo,
I realized the problem it is because of adding images to a column. I tried to add text to the column and the select all functionality worked. But when I add image/icon it adds to all pages. I still do not know how I can fix this or any work around will help please. Check my previous two posts to see whats the problem.
Here is my jsfiddle:
http://jsfiddle.net/axujkwrv/195/June 19, 2017 at 5:44 am in reply to: Rowexpand selectrow by index Rowexpand selectrow by index #94409No its using jqxgrid
June 19, 2017 at 12:44 am in reply to: jqxgrid selectedrowindexes add icon in rows jqxgrid selectedrowindexes add icon in rows #94406Hi Hristo,
I tried using the image widget column, and I was wonder if I could use setcellvalue to show the icon. Because otherwise the icons dont stay there inside the cell using .show();Here is my jsfiddle:
http://jsfiddle.net/3onsL31w/11/June 16, 2017 at 1:55 pm in reply to: jqxgrid selectedrowindexes add icon in rows jqxgrid selectedrowindexes add icon in rows #94372Hi Hristo,
I did exactly what you said but I noticed the problem occurs when suppose there are 10 rows and you added icons to 9 of those rows. So whenever all rows has the icon it cause all the pages to have that same icon across.
Example of problem:
Unselect atleast one row and then click add. Now check the pages they seem fine for now. But now select the row that you did not choose and click the add button. Now check other pages they have the icons too.Here is the updated jsfiddle:
http://jsfiddle.net/axujkwrv/195/June 15, 2017 at 2:49 pm in reply to: jqxgrid selectedrowindexes add icon in rows jqxgrid selectedrowindexes add icon in rows #94352Hristo, please I really need help on this. I have been trying to create another logic but no luck.
Here is my jsfiddle:
http://jsfiddle.net/axujkwrv/189/June 15, 2017 at 1:40 pm in reply to: jqxgrid rowselect selectsallrows in nested grid jqxgrid rowselect selectsallrows in nested grid #94347Select all rows in one nested grid. So suppose in parent grid, I selected row 1 and now it should also select all rows of its nested grid too.
June 14, 2017 at 2:22 pm in reply to: jqxgrid and listbox with rowselect jqxgrid and listbox with rowselect #94315Wow thank you so much.
June 13, 2017 at 4:05 pm in reply to: jqxgrid and listbox with rowselect jqxgrid and listbox with rowselect #94297Nevermind the post above I figured that one out.
Now one small problem that I really need to be solved.
So i have a listbox, contentpanel, and a grid. The problem i am trying to solve is that whenever I select an item in the listbox, pushs certain data to the content panel which contains firstname, lastname, and title.
For example:
Selected Item 1: Nancy DavolioNow the content panel div it will update and show records based on label or id. Please not index because then the grid selection messes up.
First Name: Nancy
Last Name: Davolio
Title: Sales RepresentativeNote: (This is done) Also note my grid also has a select event,
For example suppose i clicked on row 2 it will update the listbox and show the item as Janet
But still see if the content panel div also changes or not while performing grid selection.Here is my jsfiddle:
https://jsfiddle.net/hw4s9ryh/11/June 13, 2017 at 2:03 pm in reply to: jqxgrid and listbox with rowselect jqxgrid and listbox with rowselect #94294Ok basically when I do rowselect, i want to update my datasource for the listbox. Like I mentioned before
Grid row 1 selected show two items in the listbox as Nancy and Andrew
Grid row 2 selected should show one item in the listbox as JanetAlso for the renderer property in the listbox, I want each item to show as First and last name and underneath their title. And not using the dataAdapter.records[index]; because it shows only by index.
Here is my jsfiddle:
https://jsfiddle.net/vu833ebw/149/ -
AuthorPosts