Forum Replies Created
-
Author
-
March 23, 2020 at 5:11 pm in reply to: Dropdownbutton jqxtreegrid collapse on rowcheck Dropdownbutton jqxtreegrid collapse on rowcheck #111503
Hi Hristo,
I tried creating a ‘rowUncheck’ function, but its just hanging up the component. Basically whenever i uncheck a row it will set the content based on whichever other items are selected.
$(“#treeGrid”).on(‘rowUncheck’, function (event) {
var customerID = event.args.row.FirstName;
var len = records.length;
var newRecords = new Array();
var cnt = 0;for (var i = 0; i < len; i++) {
var record = records[i];
if (record.FirstName != customerID) {
newRecords[cnt++] = records[i];
}
}records = newRecords;
$(“#jqxdropdownbutton”).jqxDropDownButton(“setContent”, newRecords);
});
For example:
Row 1 selected
Row 2 unselectedset content on dropdown with Row 1.
Hi Martin
So other reason why i wanted to do is because i have the row lines and column lines hidden. But is there
Any way to make the last column ‘product name’ on the grid to have cell borders through CSS? So on readyonly and Edit modes atleast it looks like a input fieldHere is my jsfiddle:
https://jsfiddle.net/so365wyv/2/March 2, 2020 at 2:02 pm in reply to: Grid filter date type with cell format: 'MM/dd/yyyy' as string Grid filter date type with cell format: 'MM/dd/yyyy' as string #108272Thanks Hristo and Eking. that helped out
February 24, 2020 at 2:11 pm in reply to: Grid filter date type with cell format: 'MM/dd/yyyy' as string Grid filter date type with cell format: 'MM/dd/yyyy' as string #108197Hristo,
So the way ‘date’ column is stored as this format ‘YYYY-MM-DD hh:mm:ss’ which is TIMESTAMP.
I know that if on the grid logic when i set the ‘Order Date’ column to type ‘date’, then the filtering works as equals and not contains as a string.
So i am trying to set the ‘Order Date’ to ‘string’ and trying to convert this value to ‘MM/dd/yyyy’ using cellsrenderer.But what i am not sure on is how to make that custom filtering work based on what we see on the display of the grid.
So if in Type in filter: 11/11Show filtered results that starts and contains 11/11
If you have a workaround that would be very much appreciated.
I have updated my example:
https://jseditor.io/?key=835d76d651b511eaa55c00224d6bfcd5-ver-4January 31, 2020 at 3:15 pm in reply to: Dropdownlist selectionrenderer checkbox selection Dropdownlist selectionrenderer checkbox selection #107989Hi Hristo,
So i tried with the dataAdapter and did for loop through the selected checkboxes but it still showing as
Joe-doe-37, Joe-doe-37, Joe-doe-37,It should show
Joe-doe-37, Jake-doe-37, Breve-doe-37, …Not sure which part is incorrect and appreciate your help
Here is my jsfiddle:
https://jseditor.io/?key=dropdownlist-checkboxes-5January 30, 2020 at 2:38 pm in reply to: Dropdownlist selectionrenderer checkbox selection Dropdownlist selectionrenderer checkbox selection #107974Hi Hristo,
Its only showing the first item selection still. even though i selected multiple
Joe-doe-37, Joe-doe-37, Joe-doe-37,It should show
Joe-doe-37, Jake-doe-37, Breve-doe-37, …So i am not sure which part i am doing wrong. so will appreciate your help
January 14, 2020 at 4:38 am in reply to: Grid group renderer header text formatting Grid group renderer header text formatting #107829Hi Hristo,
I forgot to mention this that on the groupsrenderer, i want to return different text for the first group level and second group level.
Sorry i can only illustrate using example of what i am trying to achieve. But will appreciate your help.
For example:
First row
Group Main: Main Group
Sub Group: Sub Group
..Here is my updated example:
https://jseditor.io/?key=jqxgrid-group-text-format-ver-2December 10, 2019 at 2:01 am in reply to: Grid columns data pageable Grid columns data pageable #107537Hi Hristo,
I mean like am trying to add rows of as columns. So the 20 columns will be more like the rows of data and i am trying to make the pagination be based on the number of columns and not by rows.
here is the one with 20 columns which for each page, i want to only show 5 columns.
November 21, 2019 at 1:21 am in reply to: Rowdetails custom height based on nested grid height Rowdetails custom height based on nested grid height #107406Hi Martin,
Sorry again. So i tried to put all the nested data together under one variable ‘level2Data’. And i am trying to just retrieve nested records by using common id value using ‘CustomerID’ based on each parent record. I am not sure how to define this, and would like a workaround if available. The height calculation is good by the way and i want to incorporate with this.
So based on the created example
Parent Record 1: Bakery
Expanded records: Shows two records which are Jake and PhilParent Record 2: PizzaStore
Expanded records: Shows three records which are Chase, Mario, and GabHere is the jsfiddle:
http://jsfiddle.net/fya3cedw/November 19, 2019 at 3:35 am in reply to: Rowdetails custom height based on nested grid height Rowdetails custom height based on nested grid height #107392Hi Martin. Is there a way to set the height of rowdetails based on the number of records in the nested grid?
So for example if there are 5 records in nested grid, then set rowdetails height to 150px.Or if there are 10 records in the nested grid, then set rowdetails height to 300px.
If there is a workaround like this that will be very helpful please.
September 16, 2019 at 5:38 pm in reply to: Grids filterbox highlight not in order Grids filterbox highlight not in order #106775Hi Martin.
Can you please provide a workaround for jquery/javascript version of this tabbing issue?Here is my jsfiddle:
https://jsfiddle.net/vqs82a54/3/August 17, 2019 at 11:35 pm in reply to: Datetimeinput material placeholder float stay Datetimeinput material placeholder float stay #106515Hi,
I almost solved the placeholder to stay by trying to append the label. But just small issue, that whenever i select a date from the ‘calendar’ icon its removing the placeholder label at the top.
Please will like to see if you have thoughts on this example:
http://jsfiddle.net/78w2qduf/1/August 8, 2019 at 2:31 pm in reply to: Treegrid custom filter dropdown and input Treegrid custom filter dropdown and input #106443Hi Todor,
I can’t use the filtermode: ‘simple’ because it adds a toolbar which i cannot even modify to add additional input fields. So that why i want to leave the filtering outside.
May 31, 2019 at 7:09 pm in reply to: Grid filter dropdown show blank/null and selected filter item records Grid filter dropdown show blank/null and selected filter item records #105465Hi Todor,
One concern, when i tried to add a ‘createeditor’ with a dropdownlist for cell editing on this ‘CompanyName’ column. For some reason, its freezing up the grid itself.
But i tried this on my server example, which seems to work fine. But whenever on this ‘CompanyName’ column i selected a filter like ‘Alfreds Futterkiste’ and now if i edited one of the rows in the ‘CompanyName’ column with the ‘createeditor’ dropdown say like ‘Antonio Moreno Taquera’. It refreshes the entire grid and clearing the selected filter ‘Alfreds Futterkiste’.
Here is my jsfiddle:
http://jsfiddle.net/gb4mvk3s/1/May 29, 2019 at 4:47 pm in reply to: Grid filter dropdown show blank/null and selected filter item records Grid filter dropdown show blank/null and selected filter item records #105445Noticed a issue if there is a work around that would be great.
When i changed the filter dropdown placeholder set as ‘All’,
Issue 1: the grid is not showing the filter placeholder when its completely initialized.
Issue 2: When i click on the filter dropdown, i still see ‘Please Choose:’ as an item instead it should show item ‘All’ and if i select this item it is showing all ‘blank/null’ records only instead of showing all records.
Here is the jsfiddle:
http://jsfiddle.net/ofzqdkn3/1/ -
AuthorPosts