Show Posts
|
Pages: [1]
|
2
|
General Category / EasyUI for jQuery / Show/Hide expander in DataGrid
|
on: October 18, 2013, 09:22:40 AM
|
I was wondering if anyone has been able to make this work? I need to be able to show or hide the expander based on a value in the data source. So if the value of data.Count = 0 then I want to hide the expander. I have tried using the loadFilter param, but was unsuccessful. There was a posting about hiding it for specific rows, but I need to be able to use a value from the data for the each row to determine if it is shown or hidden. Any help would be very much appreciated.
Thanks
Brettjw
|
|
|
3
|
General Category / EasyUI for jQuery / Expanding Row - Mark the row as selected
|
on: October 17, 2013, 08:19:28 AM
|
Hello,
I am using the EasyUI for the first time and I have to say it is very powerful and easy to implement. I have been battling with an issue - it can get a little confusing for the end user when they have a row selected and expand a different row. You end up with a row in Yellow and the expanded row not highlighted at all. I have been trying to modify the datagrid-detailview.js file to accomplish this, but have not been able to grab the row to set the class (.addClass(datagrid-row-selected)) from the .expandRow function and reverse it from the .collapseRow call. If you could point me in the right direction that would be most appreciated. I think it would be a great modification to have out of the box as it makes for a less confusing UI Grid.
Thanks Again!
brettjw
|
|
|
4
|
General Category / EasyUI for jQuery / Re: Expand row in DataGrid with subgrid
|
on: October 17, 2013, 08:13:13 AM
|
@stworthy - I am using the subgrid code directly from the website demo and I was wondering if there was a way to do this that would be more dynamic - meaning that if the subgrid query did not have any results then it hide the expander. I have tried to implement this example and could not get it to work- it may be my lack of knowledge about EasyUI, but if you could provide a example that shows this code in line with the demo - that would be great. Thanks for your support. I have been looking for the subgrid option for years and I am very excited to implement it, just need to get a few things working.
Thanks again!
|
|
|
|