I've read that the JXTable has a built-in support to search the table in combination
with JXSearchPanel or JXSearchField. Wehre can I find some examples or code snippets
to see how it works?
By the way: is there any possibility to disable the visibility of Combobox and checkbox
in the JXSearchPanel?
many Thanks!
Related
I am using an ADT to display i.e. a table. I want to implement an option so people who configure the ADT can for example tick a checkbox and then the table changes so that a specific column is disabled.
Is this only possible via config files or is there an option to put this into the frontend?
Why would I want this? Because I have multiple systems and the column shall only be visible on some systems.
Thank you all for suggestions!
I was wondering if anyone could help me to disable the Advanced Filter option in Excel 2013.
I have used the following to disable all other data ribbon options:
.Protect UserInterfaceOnly:=True
But advanced filter is still able to be selected. With this they can unfilter the data.
The following code used to work in older versions of Excel but I cannot seem to get it to work for Excel 2013:
Application.CommandBars("Worksheet Menu Bar").Controls _
("&Data").Controls("&Filter").Controls("&Advanced Filter...").Enabled = False
If anyone could help me out with this or point me in the right direction then it would be appreciated.
Thanks guys.
Solution Suggested
The approach will be hiding the button from the user interface: the advantage on this solution is that the code is not in VBA (entirely) so, is not that easy for the user to modify it (or know what is going on backstage).
Answer Explanation/Next steps
It's really a deep answer with many steps involved in it so, I'll just post guidance and some useful links, that way you may research about it first.
1. Download Custom UI Editor for Microsoft Office: this helps to modify the user interface for the document.
2. Look for tutorials; start to code there with something basic like adding a tab and a button, (this is a good one)
3. Back to Excel, look for life cycle and custom events, this is a good place to start
4. You'll need to catch the event when the Ribbon is loaded; in that time, you'd need to disable the button, these links (1,2) are useful to show the steps and some example workbooks for it.
5. Locate the ID for the button and disable it (Hint: The idMSO = AdvancedFilterDialog, if you 've followed the previous steps, it will make sense here-).
Further information/Answer Disclaimer
Excel is not a software that can handle security deeply; if you are trying to restrict the user somehow in the original file, you should try other approaches -IG: a copy of a workbook for reference only, while the master one is saved in a sharepoint only modifiable by people authorized for it-.
While FAQ in S.O is strict about referencing to other sites without using a proper reference for it, this is a deep step solution that would take pages to explain even a random example; appealing to the guiding topic, this answer should be ok.
How can I activate custom filtering for my radgrid?(I googled but I didn't get any proper response regarding this)
I have a property like AllowCustomSorting but I don't have any property regarding filtering.
Can any one provide the way how to implement custom filtering?
If possbile give me a sample page then I will understand.
Thanks in advance.
All you need to know about filtering:
http://www.telerik.com/help/aspnet-ajax/grid-basic-filtering.html
I usually do my filtering/sorting within my stored procedures as that brings huge speed benefits when working with larger tables.
I'm aware this is a fairly old question now but this link should help you:
Note that it has a sample project at the bottom of the page.
The property you are looking for is AllowFilteringByColumn="True"
This page has a sample using a dropdown and a custom filter.
3rd Drupal question in a day.. guess what I'm doing!
OK, I've got the default Drupal search block, but I really need to find a way of restricting it to just searching one particular content type which is called "recipes" (guess what that one contains!)
Does anyone have any ideas on how I can restrict the search and then go about controlling the output display?
Thanks!
You can use the Search config module. If this module does not your work you should also look at this page: http://www.drupalmodules.com. Just type in "search" and you can find a few search plugins with descriptions.
I recommend the Finder module, which works well with CCK and filters and is straightforward to theme.
You could be interested in trying Faceted Search, which add a series of blocs to filter the results returned by the search module. There are many other modules which are related (see Projects related with Faceted Search).
I need to add a choice field to sharepoint that has values depending on the current selection.
Example:
if the current selection is Open then the options have to be 'open, and In progress
**Current selection | Possible selections**
Open | Open,In progress
In progress | In progress,To be communicates,rework
Rework | Rework,In Progress
...
That way i am forcing the user to follow some specific flow
I think you won't get this field behavior out of the box but you can archive this by implementing your own CustomFieldType.
Just take a look a this:[ www.sharepointsnippets.com/post/2009/01/Cascading-Dropdown---Configuration.aspx ] You need not download any third party software. Otherwise, just google SharePoint Cascaded/cascading lookupthere are lot of such commercial tools.
Hope this snippet works!
You can achieve this sort of behavior by editing your list's EditForm.aspx page and adding some JavaScript to the page.
Although I can't seem to find any examples for making dependant drop downs, there are a couple examples of modifying the EditForm to hide fields or make them readonly:
Making a field read-only
Hiding an entire row on the edit-form
So these are 2 columns out of which one filters the other?
Sounds like a cascading drop down list, there are a few (commercial) solutions out there.
See
http://cascddlistwithfilter.codeplex.com
for a free one.